projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ed60bc
)
fixing split_step documentation
author
Marcelo Juchem
<marcelo@fb.com>
Mon, 7 Apr 2014 18:58:03 +0000
(11:58 -0700)
committer
Dave Watson
<davejwatson@fb.com>
Tue, 20 May 2014 19:53:56 +0000
(12:53 -0700)
Summary: example results were backwards
Test Plan: unit tests
Reviewed By: brg@fb.com
FB internal diff:
D1262425
folly/Range.h
patch
|
blob
|
history
diff --git
a/folly/Range.h
b/folly/Range.h
index 620316ee913ae912aa483bdc6cb1a8a4acc068c3..0043c703233eee1fa8e20a5d1b1473ca9d23967c 100644
(file)
--- 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 "s
ample
"
+ * // prints "s
tring for split_next
"
* cout << s << endl;
*
- * // prints "s
tring for split_next
"
+ * // prints "s
ample
"
* cout << p << endl;
*
* Example 2: