File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -942,10 +942,10 @@ const C: [u32; 0.0] = []; // error
942
942
"## ,
943
943
944
944
E0250 : r##"
945
- This means there was an error while evaluating the expression for the length of
946
- a fixed- size array type.
945
+ There was an error while evaluating the expression for the length of a fixed-
946
+ size array type.
947
947
948
- Some examples of code that produces this error are:
948
+ Some examples of this error are:
949
949
950
950
```
951
951
// divide by zero in the length expression
@@ -976,9 +976,7 @@ explicitly implement it for a type.
976
976
977
977
E0368 : r##"
978
978
This error indicates that a binary assignment operator like `+=` or `^=` was
979
- applied to the wrong types.
980
-
981
- A couple examples of this are as follows:
979
+ applied to the wrong types. For example:
982
980
983
981
```
984
982
let mut x: u16 = 5;
@@ -1041,8 +1039,7 @@ Trying to implement a trait for a trait object (as in `impl Trait1 for
1041
1039
Trait2 { ... }`) does not work if the trait is not object-safe. Please see the
1042
1040
[RFC 255] for more details on object safety rules.
1043
1041
1044
- [RFC 255]:https://github.com/rust-lang/rfcs/blob/master/text/0255-object-\
1045
- safety.md
1042
+ [RFC 255]: https://github.com/rust-lang/rfcs/pull/255
1046
1043
"##
1047
1044
1048
1045
}
You can’t perform that action at this time.
0 commit comments