mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Fix clippy warnings
This commit is contained in:
parent
63c284f85e
commit
aa5178e773
8 changed files with 14 additions and 14 deletions
|
@ -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 a new issue