Skip to content

Commit c4368db

Browse files
author
Tarik Eshaq
authored
Fixes swift lint (#5257)
1 parent 09849e2 commit c4368db

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

components/fxa-client/ios/FxAClient/PersistedFirefoxAccount.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import Foundation
77
import MozillaRustComponents
88
#endif
99

10+
// swiftlint:disable type_body_length
11+
1012
/// This class inherits from the Rust `FirefoxAccount` and adds:
1113
/// - Automatic state persistence through `PersistCallback`.
1214
/// - Auth error signaling through observer notifications.

components/nimbus/ios/Nimbus/Utils/Utils.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extension UInt8 {
2626
///
2727
/// - parameters:
2828
/// * args: The array of strings to use.
29-
// If `nil` no output array will be allocated and `nil` will be passed to `body`.
29+
/// If `nil` no output array will be allocated and `nil` will be passed to `body`.
3030
/// * body: The closure that gets an array of C-compatible strings
3131
func withArrayOfCStrings<R>(
3232
_ args: [String]?,
@@ -81,8 +81,8 @@ func timestampNanos() -> UInt64 {
8181
}
8282

8383
/// Gets a gecko-compatible locale string (e.g. "es-ES")
84-
// If the locale can't be determined on the system, the value is "und",
85-
// to indicate "undetermined".
84+
/// If the locale can't be determined on the system, the value is "und",
85+
/// to indicate "undetermined".
8686
///
8787
/// - returns: a locale string that supports custom injected locale/languages.
8888
func getLocaleTag() -> String {

0 commit comments

Comments
 (0)