bolts: Fix feature name in assert (serde{,any}_autoreg
) (#2160)
This commit is contained in:
parent
7c9ac6d4b5
commit
f17a45dcc3
@ -363,7 +363,7 @@ pub mod serdeany_registry {
|
||||
.get(type_repr)
|
||||
.is_some()
|
||||
},
|
||||
"Type {} was inserted without registration! Call RegistryBuilder::register::<{}>() or use serde_autoreg.",
|
||||
"Type {} was inserted without registration! Call RegistryBuilder::register::<{}>() or use serdeany_autoreg.",
|
||||
core::any::type_name::<T>(),
|
||||
core::any::type_name::<T>()
|
||||
);
|
||||
@ -626,7 +626,7 @@ pub mod serdeany_registry {
|
||||
.get(type_repr)
|
||||
.is_some()
|
||||
},
|
||||
"Type {} was inserted without registration! Call RegistryBuilder::register::<{}>() or use serde_autoreg.",
|
||||
"Type {} was inserted without registration! Call RegistryBuilder::register::<{}>() or use serdeany_autoreg.",
|
||||
core::any::type_name::<T>(),
|
||||
core::any::type_name::<T>()
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user