mirror of
https://github.com/msfjarvis/clipboard-substitutor
synced 2025-08-15 10:07:00 +05:30
refactor: fix clippy::pedantic
lints
This commit is contained in:
parent
51b547f73b
commit
7274d8acb2
2 changed files with 4 additions and 4 deletions
|
@ -46,8 +46,8 @@ fn truncate(s: &str, max_chars: usize) -> &str {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn monitor_clipboard<'a>(config: Replacements<'_>) {
|
||||
pub fn monitor(config: Replacements<'_>) {
|
||||
let ctx = ClipboardContext::new().expect("Failed to acquire clipboard");
|
||||
let handler = Handler { ctx, config };
|
||||
let _ = Master::new(handler).run();
|
||||
let _master = Master::new(handler).run();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue