Skip to content

Commit d362fcf

Browse files
committed
Fix doc tests
1 parent 25a0ce2 commit d362fcf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/ra_assists/src/handlers/reorder_fields.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ use crate::{
1616
};
1717
use ra_syntax::ast::{Expr, NameRef};
1818

19-
2019
// Assist: reorder_fields
2120
//
2221
// Reorder the fields of record literals and record patterns in the same order as in
@@ -29,7 +28,7 @@ use ra_syntax::ast::{Expr, NameRef};
2928
// ->
3029
// ```
3130
// struct Foo {foo: i32, bar: i32};
32-
// const test: Foo = <|>Foo {foo: 1, bar: 0}
31+
// const test: Foo = Foo {foo: 1, bar: 0}
3332
// ```
3433
//
3534
pub(crate) fn reorder_fields(ctx: AssistCtx) -> Option<Assist> {

0 commit comments

Comments
 (0)