mirror of
https://github.com/bevyengine/bevy
synced 2025-02-16 22:18:33 +00:00
Fix formatting in Name
docs (#7384)
# Objective There's no period at the end of the first line of the `Name` documentation, and this messes up the grammar of the summary rustdoc creates: ``` ↓ Component used to identify an entity. Stores a hash for faster comparisons The hash is eagerly re-computed upon each update to the name. ``` ## Solution I added it.
This commit is contained in:
parent
3281aea5c2
commit
0ff839be1d
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ use std::{
|
||||||
ops::Deref,
|
ops::Deref,
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Component used to identify an entity. Stores a hash for faster comparisons
|
/// Component used to identify an entity. Stores a hash for faster comparisons.
|
||||||
|
///
|
||||||
/// The hash is eagerly re-computed upon each update to the name.
|
/// The hash is eagerly re-computed upon each update to the name.
|
||||||
///
|
///
|
||||||
/// [`Name`] should not be treated as a globally unique identifier for entities,
|
/// [`Name`] should not be treated as a globally unique identifier for entities,
|
||||||
|
|
Loading…
Add table
Reference in a new issue