Update String.h
authorAlberto Schiabel <jkomyno@users.noreply.github.com>
Tue, 12 Sep 2017 21:47:03 +0000 (14:47 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 12 Sep 2017 21:50:06 +0000 (14:50 -0700)
Summary:
Fixed typo in doc comment related to `void toLowerAscii(char* str, size_t length)`.
This fixes the annoying xCode's warning `Parameter 'len' not found in the function declaration`.
Closes https://github.com/facebook/folly/pull/670

Reviewed By: yfeldblum

Differential Revision: D5815034

Pulled By: Orvid

fbshipit-source-id: 9580cd0bbd4924d4ed461a5435f525316e5c285a

folly/String.h

index 4262a9d1b4c88e630c873d5b855b1ec198e38c6c..67faa9ec6da2b983487e3ceaa9a00be4598e8a1b 100644 (file)
@@ -618,7 +618,7 @@ std::string stripLeftMargin(std::string s);
  * Leaves all other characters unchanged, including those with the 0x80
  * bit set.
  * @param str String to convert
- * @param len Length of str, in bytes
+ * @param length Length of str, in bytes
  */
 void toLowerAscii(char* str, size_t length);