fix lints on rust 1.89 (#4587)
This commit is contained in:
1 parent
27bae6fbb7
commit
9ec474962b
16 files changed
+48
-37
No files matched your search
@@ -66,7 +66,7 @@ pub enum IpcMethod<'a> {
|
||||
}
|
||||
|
||||
impl IpcMessage {
|
||||
pub(crate) fn method(&self) -> IpcMethod {
|
||||
pub(crate) fn method(&self) -> IpcMethod<'_> {
|
||||
match self.method.as_str() {
|
||||
"file_dialog" => IpcMethod::FileDialog,
|
||||
"user_event" => IpcMethod::UserEvent,
|
||||
|
||||
Reference in new issue
Block a user