Skip to content

Commit 4bb84f6

Browse files
committed
Remove NLL feature
And do some refactoring in comments.rs Closes rust-lang#3107
1 parent 613dfcc commit 4bb84f6

File tree

8 files changed

+298
-225
lines changed

8 files changed

+298
-225
lines changed

src/chains.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ trait ChainFormatter {
447447
// Parent is the first item in the chain, e.g., `foo` in `foo.bar.baz()`.
448448
// Root is the parent plus any other chain items placed on the first line to
449449
// avoid an orphan. E.g.,
450-
// ```
450+
// ```ignore
451451
// foo.bar
452452
// .baz()
453453
// ```
@@ -509,7 +509,7 @@ impl<'a> ChainFormatterShared<'a> {
509509
// know whether 'overflowing' the last child make a better formatting:
510510
//
511511
// A chain with overflowing the last child:
512-
// ```
512+
// ```ignore
513513
// parent.child1.child2.last_child(
514514
// a,
515515
// b,
@@ -518,7 +518,7 @@ impl<'a> ChainFormatterShared<'a> {
518518
// ```
519519
//
520520
// A chain without overflowing the last child (in vertical layout):
521-
// ```
521+
// ```ignore
522522
// parent
523523
// .child1
524524
// .child2
@@ -527,7 +527,7 @@ impl<'a> ChainFormatterShared<'a> {
527527
//
528528
// In particular, overflowing is effective when the last child is a method with a multi-lined
529529
// block-like argument (e.g. closure):
530-
// ```
530+
// ```ignore
531531
// parent.child1.child2.last_child(|a, b, c| {
532532
// let x = foo(a, b, c);
533533
// let y = bar(a, b, c);

0 commit comments

Comments
 (0)