diff options
author | Daniel Schadt <kingdread@gmx.de> | 2018-05-31 16:05:52 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2018-05-31 16:05:52 +0200 |
commit | 2d8c0f26c71e90e30d8aef35f7ae95003abf13d6 (patch) | |
tree | feb1b11fbc1409214c7ef23299df9ea813888f6e /src/raw/types.rs | |
parent | 4f3aa33ad3c7012105ef897da62220131ac9289c (diff) | |
download | evtclib-2d8c0f26c71e90e30d8aef35f7ae95003abf13d6.tar.gz evtclib-2d8c0f26c71e90e30d8aef35f7ae95003abf13d6.tar.bz2 evtclib-2d8c0f26c71e90e30d8aef35f7ae95003abf13d6.zip |
cargo fmt
Diffstat (limited to 'src/raw/types.rs')
-rw-r--r-- | src/raw/types.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/raw/types.rs b/src/raw/types.rs index 9096a32..e3a80af 100644 --- a/src/raw/types.rs +++ b/src/raw/types.rs @@ -291,7 +291,8 @@ impl Skill { /// /// Returns `None` if the name is not valid UTF-8. pub fn name_string(&self) -> Option<String> { - let bytes = self.name + let bytes = self + .name .iter() .cloned() .take_while(|b| *b != 0) |