mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-25 01:58:51 +02:00
fix(wm): dynamically reserve monitor ring space
This commit makes a small change to dynamically keep reserving space in the VecDeque that backs Ring<Monitor> until an index preference can be contained within the current length. This commit also fixes some clippy lints and adds some allow annotations.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#![warn(clippy::all, clippy::nursery, clippy::pedantic)]
|
||||
#![allow(clippy::missing_errors_doc)]
|
||||
#![allow(clippy::missing_errors_doc, clippy::doc_markdown)]
|
||||
|
||||
use chrono::Local;
|
||||
use std::fs::File;
|
||||
@@ -102,6 +102,7 @@ lazy_static! {
|
||||
};
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
trait AhkLibrary {
|
||||
fn generate_ahk_library() -> String;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user