Fix clippy warnings

This commit is contained in:
Gino Valente 2022-05-26 17:08:44 -07:00
parent 63c284f85e
commit aa5178e773
8 changed files with 14 additions and 14 deletions

View file

@ -70,7 +70,7 @@ impl ArrayInfo {
///
/// [type name]: std::any::type_name
pub fn type_name(&self) -> &'static str {
&self.type_name
self.type_name
}
/// The [`TypeId`] of the array.
@ -87,7 +87,7 @@ impl ArrayInfo {
///
/// [type name]: std::any::type_name
pub fn item_type_name(&self) -> &'static str {
&self.item_type_name
self.item_type_name
}
/// The [`TypeId`] of the array item.

View file

@ -29,7 +29,7 @@ impl NamedField {
///
/// [type name]: std::any::type_name
pub fn type_name(&self) -> &'static str {
&self.type_name
self.type_name
}
/// The [`TypeId`] of the field.
@ -69,7 +69,7 @@ impl UnnamedField {
///
/// [type name]: std::any::type_name
pub fn type_name(&self) -> &'static str {
&self.type_name
self.type_name
}
/// The [`TypeId`] of the field.

View file

@ -54,7 +54,7 @@ impl ListInfo {
///
/// [type name]: std::any::type_name
pub fn type_name(&self) -> &'static str {
&self.type_name
self.type_name
}
/// The [`TypeId`] of the list.
@ -71,7 +71,7 @@ impl ListInfo {
///
/// [type name]: std::any::type_name
pub fn item_type_name(&self) -> &'static str {
&self.item_type_name
self.item_type_name
}
/// The [`TypeId`] of the list item.

View file

@ -73,7 +73,7 @@ impl MapInfo {
///
/// [type name]: std::any::type_name
pub fn type_name(&self) -> &'static str {
&self.type_name
self.type_name
}
/// The [`TypeId`] of the map.
@ -90,7 +90,7 @@ impl MapInfo {
///
/// [type name]: std::any::type_name
pub fn key_type_name(&self) -> &'static str {
&self.key_type_name
self.key_type_name
}
/// The [`TypeId`] of the key.
@ -107,7 +107,7 @@ impl MapInfo {
///
/// [type name]: std::any::type_name
pub fn value_type_name(&self) -> &'static str {
&self.value_type_name
self.value_type_name
}
/// The [`TypeId`] of the value.

View file

@ -127,7 +127,7 @@ impl StructInfo {
///
/// [type name]: std::any::type_name
pub fn type_name(&self) -> &'static str {
&self.type_name
self.type_name
}
/// The [`TypeId`] of the struct.

View file

@ -167,7 +167,7 @@ impl TupleInfo {
///
/// [type name]: std::any::type_name
pub fn type_name(&self) -> &'static str {
&self.type_name
self.type_name
}
/// The [`TypeId`] of the tuple.

View file

@ -87,7 +87,7 @@ impl TupleStructInfo {
///
/// [type name]: std::any::type_name
pub fn type_name(&self) -> &'static str {
&self.type_name
self.type_name
}
/// The [`TypeId`] of the tuple struct.

View file

@ -84,7 +84,7 @@ impl ValueInfo {
///
/// [type name]: std::any::type_name
pub fn type_name(&self) -> &'static str {
&self.type_name
self.type_name
}
/// The [`TypeId`] of the value.
@ -124,7 +124,7 @@ impl DynamicInfo {
///
/// [type name]: std::any::type_name
pub fn type_name(&self) -> &'static str {
&self.type_name
self.type_name
}
/// The [`TypeId`] of the dynamic value.