From: Alberto Schiabel Date: Tue, 12 Sep 2017 21:47:03 +0000 (-0700) Subject: Update String.h X-Git-Tag: v2017.09.18.00~12 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=17fd438a3d6ab1e807d3505385b437c8f9f77726;p=folly.git Update String.h 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 --- diff --git a/folly/String.h b/folly/String.h index 4262a9d1..67faa9ec 100644 --- a/folly/String.h +++ b/folly/String.h @@ -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);