mirror of
https://github.com/msfjarvis/clipboard-substitutor
synced 2025-08-15 00:47:01 +05:30
all: update trivial formatting macros to use implicit capture
This commit is contained in:
parent
84afa4573f
commit
0a0919faf6
2 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ fn main() -> Result<()> {
|
|||
}
|
||||
let result = subst.action.clone().apply_action(contents.deref());
|
||||
if let Err(e) = clipboard.set_contents(result.to_owned()) {
|
||||
error!("{}", e);
|
||||
error!("{e}");
|
||||
}
|
||||
};
|
||||
while let Ok(new_contents) = get_clipboard_contents(&mut clipboard) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue