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
@ -8,7 +8,8 @@ use std::{
|
||||
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.
|
||||
///
|
||||
/// [`Name`] should not be treated as a globally unique identifier for entities,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user