diff options
| author | Eskil Queseth <eskilq@kth.se> | 2021-06-13 20:58:59 +0200 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2021-06-13 20:58:59 +0200 |
| commit | 817a949cfc3b2a8687d7621eae5fdb49667adac2 (patch) | |
| tree | 9605631980b018703895bd2b14006716594338a8 /mumd/src/state | |
| parent | e799939afee27c47f9d78d987f50d9846b58ea8c (diff) | |
| download | mum-817a949cfc3b2a8687d7621eae5fdb49667adac2.tar.gz | |
add unused_qualifications lint
Diffstat (limited to 'mumd/src/state')
| -rw-r--r-- | mumd/src/state/user.rs | 2 |
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); } |
