Fix warnings
This commit is contained in:
@@ -63,11 +63,7 @@ pub fn read_share() -> Option<String> {
|
||||
}
|
||||
}
|
||||
}
|
||||
if let Some(s) = string {
|
||||
Some(s)
|
||||
} else {
|
||||
None
|
||||
}
|
||||
string
|
||||
} else {
|
||||
//use x11 clipboard
|
||||
ClipboardProvider::new()
|
||||
|
||||
Reference in New Issue
Block a user