about summary refs log tree commit diff
path: root/src/entities/character.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/character.rs')
-rw-r--r--src/entities/character.rs2
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")