File tree 3 files changed +3
-2
lines changed
hir-def/src/macro_expansion_tests
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ enum Command {
336
336
}
337
337
338
338
impl <> $crate::cmp::PartialOrd for Command< > where {
339
- fn partial_cmp(&self , other: &Self ) -> $crate::option::Option::Option <$crate::cmp::Ordering> {
339
+ fn partial_cmp(&self , other: &Self ) -> $crate::option::Option<$crate::cmp::Ordering> {
340
340
match $crate::intrinsics::discriminant_value(self ).partial_cmp(&$crate::intrinsics::discriminant_value(other)) {
341
341
$crate::option::Option::Some($crate::cmp::Ordering::Equal)=> {
342
342
match (self , other) {
Original file line number Diff line number Diff line change @@ -969,7 +969,7 @@ fn partial_ord_expand(
969
969
span,
970
970
) ;
971
971
quote ! { span =>
972
- fn partial_cmp( & self , other: & Self ) -> #krate:: option:: Option :: Option <#krate:: cmp:: Ordering > {
972
+ fn partial_cmp( & self , other: & Self ) -> #krate:: option:: Option <#krate:: cmp:: Ordering > {
973
973
#body
974
974
}
975
975
}
Original file line number Diff line number Diff line change 1
1
//! Defines [`SyntaxKind`] -- a fieldless enum of all possible syntactic
2
2
//! constructs of the Rust language.
3
3
4
+ #[ rustfmt:: skip]
4
5
mod generated;
5
6
6
7
use crate :: Edition ;
You can’t perform that action at this time.
0 commit comments