Commit 3c764a2d authored by Xiangyu Bu's avatar Xiangyu Bu Committed by Facebook GitHub Bot

Fix typo about MutableStringPiece.

Summary:
This diff corrects two references to `MutableStringPiece` that are misspelled
as `MutablesStringPiece` which doesn't exist.

Reviewed By: Orvid

Differential Revision: D26011095

fbshipit-source-id: 2503e13b84e04654c242bcd1f7bb17f9c1b757dc
parent 0fd2fc2f
......@@ -885,7 +885,7 @@ class Range {
* range. Returns false if 'replacements' does not fit. Example use:
*
* char in[] = "buffer";
* auto msp = MutablesStringPiece(input);
* auto msp = MutableStringPiece(input);
* EXPECT_TRUE(msp.replaceAt(2, "tt"));
* EXPECT_EQ(msp, "butter");
*
......@@ -913,7 +913,7 @@ class Range {
* Example use:
*
* char in[] = "buffer";
* auto msp = MutablesStringPiece(input);
* auto msp = MutableStringPiece(input);
* EXPECT_EQ(msp.replaceAll("ff","tt"), 1);
* EXPECT_EQ(msp, "butter");
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment