nix: update shell config

This commit is contained in:
Harsh Shandilya 2022-03-28 13:12:25 +05:30
parent 58809b1f74
commit 9ac2d098e2
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
2 changed files with 9 additions and 6 deletions

View file

@ -80,7 +80,7 @@ fn get_config_path() -> Result<PathBuf> {
Ok(config_path)
}
fn loop_clipboard(config: Replacements) {
fn loop_clipboard(config: Replacements<'_>) {
let mut clipboard: ClipboardContext =
ClipboardProvider::new().expect("Failed to get clipboard");
let mut clipboard_contents = get_clipboard_contents(&mut clipboard);