diff options
Diffstat (limited to 'src/entities/character.rs')
-rw-r--r-- | src/entities/character.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/character.rs b/src/entities/character.rs index 59d4d00a4b65..2b1b6efe47de 100644 --- a/src/entities/character.rs +++ b/src/entities/character.rs @@ -30,7 +30,7 @@ impl Character { 1 } - pub fn name<'a>(&'a self) -> &'a str { + pub fn name(&self) -> &str { self.o_name .as_ref() .expect("Character name not initialized") |