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 75fa7de commit 8d18281Copy full SHA for 8d18281
lib/src/merge.rs
@@ -486,15 +486,19 @@ impl<T> Merge<Merge<T>> {
486
///
487
/// Let's say we have a 3-way merge of 3-way merges like this:
488
489
+ /// ```
490
/// 4 5 7 8
491
/// 3 6
492
/// 1 2
493
/// 0
494
495
496
/// Flattening that results in this 9-way merge:
497
498
499
/// 4 5 0 7 8
500
/// 3 2 1 6
501
502
pub fn flatten(self) -> Merge<T> {
503
let mut outer_values = self.values.into_iter();
504
let mut result = outer_values.next().unwrap();
0 commit comments