File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1349,7 +1349,7 @@ mod impls {
1349
1349
impl PartialOrd for $t {
1350
1350
#[ inline]
1351
1351
fn partial_cmp( & self , other: & $t) -> Option <Ordering > {
1352
- match ( self <= other, self >= other) {
1352
+ match ( * self <= * other, * self >= * other) {
1353
1353
( false , false ) => None ,
1354
1354
( false , true ) => Some ( Greater ) ,
1355
1355
( true , false ) => Some ( Less ) ,
Original file line number Diff line number Diff line change @@ -795,7 +795,7 @@ pub(crate) mod builtin {
795
795
///
796
796
/// Two such examples are macros and `#[cfg]` environments.
797
797
///
798
- /// Emit better compiler error if a macro is passed invalid values. Without the final branch,
798
+ /// Emit a better compiler error if a macro is passed invalid values. Without the final branch,
799
799
/// the compiler would still emit an error, but the error's message would not mention the two
800
800
/// valid values.
801
801
///
@@ -812,7 +812,7 @@ pub(crate) mod builtin {
812
812
/// // ^ will fail at compile time with message "This macro only accepts `foo` or `bar`"
813
813
/// ```
814
814
///
815
- /// Emit compiler error if one of a number of features isn't available.
815
+ /// Emit a compiler error if one of a number of features isn't available.
816
816
///
817
817
/// ```compile_fail
818
818
/// #[cfg(not(any(feature = "foo", feature = "bar")))]
You can’t perform that action at this time.
0 commit comments