diff --git a/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift b/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift index 6acb92a779a..1cc9f5e1be0 100644 --- a/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift +++ b/FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift @@ -23,8 +23,8 @@ import Foundation /// Facilitates communication with the backend for a ``LiveSession``. /// /// Using an actor will make it easier to adopt session resumption, as we have an isolated place for -/// mainting mutablity, which is backed by Swift concurrency implicity; allowing us to avoid various -/// edge-case issues with dead-locks and data races. +/// maintaining mutablity, which is backed by Swift concurrency implicitly; allowing us to avoid +/// various edge-case issues with dead-locks and data races. /// /// This mainly comes into play when we don't want to block developers from sending messages while a /// session is being reloaded. @@ -54,7 +54,7 @@ actor LiveSessionService { private let jsonEncoder = JSONEncoder() private let jsonDecoder = JSONDecoder() - /// Long running task that that wraps around the websocket, propogating messages through the + /// Long running task that that wraps around the websocket, propagating messages through the /// public stream. private var responsesTask: Task? @@ -273,7 +273,7 @@ actor LiveSessionService { } } - /// Checks if an error should be propogated up, and maps it accordingly. + /// Checks if an error should be propagated up, and maps it accordingly. /// /// Some errors have public api alternatives. This function will ensure they're mapped /// accordingly. diff --git a/scripts/repo/Sources/Util/Process.swift b/scripts/repo/Sources/Util/Process.swift index 2959d5f0abb..0b5ca5bec9d 100755 --- a/scripts/repo/Sources/Util/Process.swift +++ b/scripts/repo/Sources/Util/Process.swift @@ -26,7 +26,7 @@ public extension Process { /// - env: A map of environment variables to set for the process. /// - inheritEnvironment: When enabled, the parent process' environvment will also be applied /// to this process. Effectively, this means that any environvment variables declared within the - /// parent process will propogate down to this new process. + /// parent process will propagate down to this new process. convenience init(_ exe: String, _ args: [String] = [], env: [String: String] = [:], @@ -59,7 +59,7 @@ public extension Process { /// Run the process with signals from the parent process. /// - /// The signals `SIGINT` and `SIGTERM` will both be propogated + /// The signals `SIGINT` and `SIGTERM` will both be propagated /// down to the process from the parent process. /// /// This function will not return until the process is done running.