We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc75f85 commit 55fa72bCopy full SHA for 55fa72b
04-基础Trait.md
@@ -426,7 +426,7 @@ mod impls {
426
//这个表达主要是考虑到浮点, 注意这里是用了impl PartialOrd<&B> for &A
427
//从而self <= other导致对 (&f32).le()的调用
428
//为什么不直接使用(*self <= *other, *self >= *other)呢
429
- //提交了PR
+ //提交了PR,最新的代码库已经修改了
430
match (self <= other, self >= other) {
431
(false, false) => None,
432
(false, true) => Some(Greater),
@@ -974,4 +974,4 @@ where
974
}
975
976
```
977
-以上, `self as &[T]` 即把[T;N]转化为了切片[T], 所以数组的Index就是[T]的Index实现
+以上, `self as &[T]` 即把[T;N]转化为了切片[T], 所以数组的Index就是[T]的Index实现
0 commit comments