chore: Bump Rust version to 1.88 (#33439)
Goodies in this version: - if-let chains 🎉 - Better compiler perf for Zed (https://github.com/rust-lang/rust/pull/138522) For more, see: https://releases.rs/docs/1.88.0/ Release Notes: - N/A --------- Co-authored-by: Junkui Zhang <364772080@qq.com>
This commit is contained in:
1 parent
37f2917a82
commit
faaa8cb3a0
31 files changed
+112
-303
No files matched your search
@@ -126,17 +126,17 @@ impl<T> Default for TypedRow<T> {
|
||||
|
||||
impl<T> PartialOrd for TypedOffset<T> {
|
||||
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
|
||||
Some(self.value.cmp(&other.value))
|
||||
Some(self.cmp(&other))
|
||||
}
|
||||
}
|
||||
impl<T> PartialOrd for TypedPoint<T> {
|
||||
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
|
||||
Some(self.value.cmp(&other.value))
|
||||
Some(self.cmp(&other))
|
||||
}
|
||||
}
|
||||
impl<T> PartialOrd for TypedRow<T> {
|
||||
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
|
||||
Some(self.value.cmp(&other.value))
|
||||
Some(self.cmp(&other))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user