From 17fd438a3d6ab1e807d3505385b437c8f9f77726 Mon Sep 17 00:00:00 2001 From: Alberto Schiabel Date: Tue, 12 Sep 2017 14:47:03 -0700 Subject: [PATCH] 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 --- folly/String.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1