summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/tsort.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tsort.rb b/lib/tsort.rb
index cbff72b124..13718dd791 100644
--- a/lib/tsort.rb
+++ b/lib/tsort.rb
@@ -267,7 +267,7 @@ module TSort
# end
#
# graph = G.new({1=>[2, 3], 2=>[4], 3=>[2, 4], 4=>[]})
- # graph.each_strongly_connected_component_from(2) {|scc| p scc }
+ # graph.each_strongly_connected_component_from(2) {|scc| p scc }
# #=> [4]
# # [2]
#