Fix clippy warnings
This commit is contained in:
		
							parent
							
								
									63c284f85e
								
							
						
					
					
						commit
						aa5178e773
					
				| @ -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.
 | ||||
|  | ||||
| @ -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.
 | ||||
|  | ||||
| @ -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.
 | ||||
|  | ||||
| @ -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.
 | ||||
|  | ||||
| @ -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.
 | ||||
|  | ||||
| @ -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.
 | ||||
|  | ||||
| @ -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.
 | ||||
|  | ||||
| @ -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.
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Gino Valente
						Gino Valente