Fix msrv.
This commit is contained in:
parent
de0707f64f
commit
3163d9d1d6
@ -41,7 +41,7 @@ impl CustomTypesCollection {
|
|||||||
}
|
}
|
||||||
/// Register a custom type.
|
/// Register a custom type.
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
pub fn add_type<T>(&mut self, name: impl Into<Identifier>) {
|
pub fn add_type<T>(&mut self, name: &str) {
|
||||||
self.add_raw(
|
self.add_raw(
|
||||||
type_name::<T>(),
|
type_name::<T>(),
|
||||||
CustomTypeInfo {
|
CustomTypeInfo {
|
||||||
|
Loading…
Reference in New Issue
Block a user