diff options
| author | Max Verevkin <maxxverrr@gmail.com> | 2022-04-01 21:55:35 +0300 |
|---|---|---|
| committer | Max Verevkin <maxxverrr@gmail.com> | 2022-04-01 22:00:32 +0300 |
| commit | 77f69b25ba5f4829e0c6fef692c94a38cc388abe (patch) | |
| tree | e6d61eba45ad8490510b0ab8e5dd5467037534a7 /src/main.rs | |
| parent | 7bcaa341b8685ba411d206c1a89dc3ca77aa71bb (diff) | |
| download | i3bar-mango-77f69b25ba5f4829e0c6fef692c94a38cc388abe.tar.gz | |
fix some clippy lints, ignore others
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index cc37aa7..0b94c24 100644 --- a/src/main.rs +++ b/src/main.rs @@ -312,6 +312,7 @@ pub struct Surface { } impl Surface { + #[allow(clippy::too_many_arguments)] fn new( output: &wl_output::WlOutput, output_id: u32, @@ -366,7 +367,7 @@ impl Surface { // Commit so that the server will send a configure event surface.commit(); - let river_output_status = river_status.get_river_output_status(&output); + let river_output_status = river_status.get_river_output_status(output); let tags_info = Rc::new(RefCell::new(TagsInfo::default())); let tags_info_handle = Rc::clone(&tags_info); let blocks_handle = Rc::clone(&blocks); |
