diff options
| author | Arne Dußin | 2020-11-10 19:14:53 +0100 |
|---|---|---|
| committer | Arne Dußin | 2020-11-10 19:14:53 +0100 |
| commit | 94b9d39bd32ced4435951dc7a61612c3ea826b87 (patch) | |
| tree | 17a948c8127bfd5a36e9768ffc947b5f08356f4d /src/map_data.rs | |
| parent | 2315064b28627b1490016f3b45e8dee187ed9e05 (diff) | |
| download | graf_karto-94b9d39bd32ced4435951dc7a61612c3ea826b87.tar.gz graf_karto-94b9d39bd32ced4435951dc7a61612c3ea826b87.zip | |
Fix some style errors
Fixed the last warnings and ran clippy on the project. Fixed where
appropriate and taught clippy otherwise. Now runs through clean.
Diffstat (limited to 'src/map_data.rs')
| -rw-r--r-- | src/map_data.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map_data.rs b/src/map_data.rs index 8d0d926..e1a9c0b 100644 --- a/src/map_data.rs +++ b/src/map_data.rs @@ -18,6 +18,7 @@ pub struct MapData { } impl MapData { + #[allow(clippy::new_without_default)] pub fn new() -> Self { Self { rooms: Vec::new(), |
