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 @@ -979,10 +979,10 @@ const C: [u32; 0.0] = []; // error
979
979
"## ,
980
980
981
981
E0250 : r##"
982
- This means there was an error while evaluating the expression for the length of
983
- a fixed- size array type.
982
+ There was an error while evaluating the expression for the length of a fixed-
983
+ size array type.
984
984
985
- Some examples of code that produces this error are:
985
+ Some examples of this error are:
986
986
987
987
```
988
988
// divide by zero in the length expression
@@ -1032,9 +1032,7 @@ impl Foo for Bar {
1032
1032
1033
1033
E0368 : r##"
1034
1034
This error indicates that a binary assignment operator like `+=` or `^=` was
1035
- applied to the wrong types.
1036
-
1037
- A couple examples of this are as follows:
1035
+ applied to the wrong types. For example:
1038
1036
1039
1037
```
1040
1038
let mut x: u16 = 5;
@@ -1097,8 +1095,7 @@ Trying to implement a trait for a trait object (as in `impl Trait1 for
1097
1095
Trait2 { ... }`) does not work if the trait is not object-safe. Please see the
1098
1096
[RFC 255] for more details on object safety rules.
1099
1097
1100
- [RFC 255]:https://github.com/rust-lang/rfcs/blob/master/text/0255-object-\
1101
- safety.md
1098
+ [RFC 255]: https://github.com/rust-lang/rfcs/pull/255
1102
1099
"##
1103
1100
1104
1101
}
You can’t perform that action at this time.
0 commit comments