aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src/state
diff options
context:
space:
mode:
authorEskil Queseth <eskilq@kth.se>2021-06-13 20:58:59 +0200
committerEskil Queseth <eskilq@kth.se>2021-06-13 20:58:59 +0200
commit817a949cfc3b2a8687d7621eae5fdb49667adac2 (patch)
tree9605631980b018703895bd2b14006716594338a8 /mumd/src/state
parente799939afee27c47f9d78d987f50d9846b58ea8c (diff)
downloadmum-817a949cfc3b2a8687d7621eae5fdb49667adac2.tar.gz
add unused_qualifications lint
Diffstat (limited to 'mumd/src/state')
-rw-r--r--mumd/src/state/user.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mumd/src/state/user.rs b/mumd/src/state/user.rs
index 5770bca..0ffde90 100644
--- a/mumd/src/state/user.rs
+++ b/mumd/src/state/user.rs
@@ -78,7 +78,7 @@ impl User {
}
}
- pub fn apply_user_diff(&mut self, diff: &crate::state::user::UserDiff) {
+ pub fn apply_user_diff(&mut self, diff: &UserDiff) {
if let Some(comment) = diff.comment.clone() {
self.comment = Some(comment);
}