From 6205123a736c70d73e9878939a9af5c49f3832c5 Mon Sep 17 00:00:00 2001 From: Marcelo Juchem Date: Mon, 7 Apr 2014 11:58:03 -0700 Subject: [PATCH] fixing split_step documentation Summary: example results were backwards Test Plan: unit tests Reviewed By: brg@fb.com FB internal diff: D1262425 --- folly/Range.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.34.1