We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fa66f1 commit 580e5e2Copy full SHA for 580e5e2
crates/ide_assists/src/handlers/sort_items.rs
@@ -285,16 +285,24 @@ $0enum Bar {
285
sort_items,
286
r#"
287
$0trait Bar {
288
- fn a() {}
+ fn a() {
289
+
290
+ }
291
292
+ // comment for c
293
fn c() {}
294
fn z() {}
295
fn b() {}
296
}
297
"#,
298
299
trait Bar {
300
301
302
303
304
305
306
307
308
@@ -311,6 +319,9 @@ struct Bar;
311
319
$0impl Bar {
312
320
313
321
fn a() {}
322
+ /// long
323
+ /// doc
324
+ /// comment
314
325
315
326
fn d() {}
316
327
@@ -321,6 +332,9 @@ impl Bar {
332
333
334
335
336
337
338
339
340
0 commit comments