aboutsummaryrefslogtreecommitdiff
path: root/examples/factory/user.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/factory/user.rs')
-rw-r--r--examples/factory/user.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/factory/user.rs b/examples/factory/user.rs
index 121ad25..97a7632 100644
--- a/examples/factory/user.rs
+++ b/examples/factory/user.rs
@@ -27,16 +27,16 @@ impl IUser for User
{
fn get_name(&self) -> &'static str
{
- self.name.clone()
+ self.name
}
fn get_date_of_birth(&self) -> &'static str
{
- self.date_of_birth.clone()
+ self.date_of_birth
}
fn get_password(&self) -> &'static str
{
- self.password.clone()
+ self.password
}
}