summaryrefslogtreecommitdiff
path: root/lib/diff/lcs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/diff/lcs.rb')
-rw-r--r--lib/diff/lcs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diff/lcs.rb b/lib/diff/lcs.rb
index f33a452..773b4db 100644
--- a/lib/diff/lcs.rb
+++ b/lib/diff/lcs.rb
@@ -602,7 +602,7 @@ class << Diff::LCS
# having no changes if the following predicate returns true:
#
# patchset.empty? or
- # patchset.flatten.all? { |change| change.unchanged? }
+ # patchset.flatten(1).all? { |change| change.unchanged? }
#
# === Patchsets
#