From: Marcelo Juchem Date: Mon, 7 Apr 2014 18:58:03 +0000 (-0700) Subject: fixing split_step documentation X-Git-Tag: v0.22.0~579 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6205123a736c70d73e9878939a9af5c49f3832c5;p=folly.git fixing split_step documentation Summary: example results were backwards Test Plan: unit tests Reviewed By: brg@fb.com FB internal diff: D1262425 --- diff --git a/folly/Range.h b/folly/Range.h index 620316ee..0043c703 100644 --- a/folly/Range.h +++ b/folly/Range.h @@ -575,10 +575,10 @@ public: * folly::StringPiece s("sample string for split_next"); * auto p = s.split_step(' '); * - * // prints "sample" + * // prints "string for split_next" * cout << s << endl; * - * // prints "string for split_next" + * // prints "sample" * cout << p << endl; * * Example 2: