chore: support 1.65
This commit is contained in:
parent
56039608a0
commit
87661a2611
2 changed files with 5 additions and 4 deletions
|
|
@ -58,7 +58,8 @@ impl Clipboard {
|
|||
|
||||
if let Ok(reply) = self.request_receiver.recv() {
|
||||
match reply {
|
||||
Ok((data, mime)) => T::try_from((data, mime)).map_err(std::io::Error::other),
|
||||
Ok((data, mime)) => T::try_from((data, mime))
|
||||
.map_err(|err| std::io::Error::new(std::io::ErrorKind::Other, err)),
|
||||
Err(err) => Err(err),
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue