diff options
| author | troido <troido@protonmail.com> | 2020-02-18 22:32:14 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-02-18 22:32:14 +0100 |
| commit | 933e831a82725e8bf22788d6a9f1fba2c596a975 (patch) | |
| tree | dca58d4aaabba7232c67baea4c813dfb499efba4 /src/playerstate.rs | |
| parent | 32dd60bca02cf2cfccc8d4309691df9f2f84398c (diff) | |
refactored with cargo clippy
Diffstat (limited to 'src/playerstate.rs')
| -rw-r--r-- | src/playerstate.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playerstate.rs b/src/playerstate.rs index d06e3e7..f179fcc 100644 --- a/src/playerstate.rs +++ b/src/playerstate.rs @@ -23,7 +23,7 @@ impl PlayerState { pub fn new(id: PlayerId) -> Self { Self{ - id: id, + id, room: None, inventory: Vec::new(), inventory_capacity: 10, |
