mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
clippy
This commit is contained in:
+1
-1
@@ -174,7 +174,7 @@ impl Eq for String {}
|
||||
|
||||
impl PartialOrd for String {
|
||||
fn partial_cmp(&self, other: &String) -> Option<cmp::Ordering> {
|
||||
self.as_bytes().partial_cmp(&other.as_bytes())
|
||||
Some(self.cmp(other))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user