mirror of
https://github.com/NotAShelf/stash.git
synced 2026-04-27 11:55:37 +00:00
chore: bump dependencies; fix lifetime warnings for Rust 1.90+
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: If755ceefb970311c7660118cb2019c2c6a6a6964
This commit is contained in:
parent
8a25a03486
commit
c2182d21dc
5 changed files with 116 additions and 31 deletions
|
|
@ -66,7 +66,7 @@ struct WlPasteArgs {
|
|||
watch: Option<Vec<String>>,
|
||||
}
|
||||
|
||||
fn get_paste_mime_type(mime_arg: Option<&str>) -> PasteMimeType {
|
||||
fn get_paste_mime_type(mime_arg: Option<&str>) -> PasteMimeType<'_> {
|
||||
match mime_arg {
|
||||
None | Some("text" | "autodetect") => PasteMimeType::Text,
|
||||
Some(other) => PasteMimeType::Specific(other),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue