diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/optional_data_string_conversion.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/optional_data_string_conversion.html index ac916f7847..626acd3a8e 100644 --- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/optional_data_string_conversion.html +++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/optional_data_string_conversion.html @@ -369,7 +369,7 @@
Prefer failable String(data:encoding:)
initializer when converting Data
to String
Prefer failable String(bytes:encoding:)
initializer when converting Data
to String
optional_data_string_conversion
String(data: data, encoding: .utf8)
+String(bytes: data, encoding: .utf8)
+
String(UTF8.self)
String(a, b, c, UTF8.self)
diff --git a/docsets/SwiftLintCore.tgz b/docsets/SwiftLintCore.tgz
index ec26ff9b40..cb4bd7d695 100644
Binary files a/docsets/SwiftLintCore.tgz and b/docsets/SwiftLintCore.tgz differ
diff --git a/optional_data_string_conversion.html b/optional_data_string_conversion.html
index ac916f7847..626acd3a8e 100644
--- a/optional_data_string_conversion.html
+++ b/optional_data_string_conversion.html
@@ -369,7 +369,7 @@
Optional Data -> String Conversion
-Prefer failable String(data:encoding:)
initializer when converting Data
to String
+Prefer failable String(bytes:encoding:)
initializer when converting Data
to String
- Identifier:
optional_data_string_conversion
@@ -398,6 +398,8 @@ Optional Data ->
Non Triggering Examples
String(data: data, encoding: .utf8)
+String(bytes: data, encoding: .utf8)
+
String(UTF8.self)
String(a, b, c, UTF8.self)