Skip to content

Commit e1cb63b

Browse files
authored
docs: Fix a bunch of typos (#15472)
1 parent dd4b95d commit e1cb63b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

FirebaseAI/Sources/Types/Internal/Live/LiveSessionService.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import Foundation
2323
/// Facilitates communication with the backend for a ``LiveSession``.
2424
///
2525
/// Using an actor will make it easier to adopt session resumption, as we have an isolated place for
26-
/// mainting mutablity, which is backed by Swift concurrency implicity; allowing us to avoid various
27-
/// edge-case issues with dead-locks and data races.
26+
/// maintaining mutablity, which is backed by Swift concurrency implicitly; allowing us to avoid
27+
/// various edge-case issues with dead-locks and data races.
2828
///
2929
/// This mainly comes into play when we don't want to block developers from sending messages while a
3030
/// session is being reloaded.
@@ -54,7 +54,7 @@ actor LiveSessionService {
5454
private let jsonEncoder = JSONEncoder()
5555
private let jsonDecoder = JSONDecoder()
5656

57-
/// Long running task that that wraps around the websocket, propogating messages through the
57+
/// Long running task that that wraps around the websocket, propagating messages through the
5858
/// public stream.
5959
private var responsesTask: Task<Void, Never>?
6060

@@ -273,7 +273,7 @@ actor LiveSessionService {
273273
}
274274
}
275275

276-
/// Checks if an error should be propogated up, and maps it accordingly.
276+
/// Checks if an error should be propagated up, and maps it accordingly.
277277
///
278278
/// Some errors have public api alternatives. This function will ensure they're mapped
279279
/// accordingly.

scripts/repo/Sources/Util/Process.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public extension Process {
2626
/// - env: A map of environment variables to set for the process.
2727
/// - inheritEnvironment: When enabled, the parent process' environvment will also be applied
2828
/// to this process. Effectively, this means that any environvment variables declared within the
29-
/// parent process will propogate down to this new process.
29+
/// parent process will propagate down to this new process.
3030
convenience init(_ exe: String,
3131
_ args: [String] = [],
3232
env: [String: String] = [:],
@@ -59,7 +59,7 @@ public extension Process {
5959

6060
/// Run the process with signals from the parent process.
6161
///
62-
/// The signals `SIGINT` and `SIGTERM` will both be propogated
62+
/// The signals `SIGINT` and `SIGTERM` will both be propagated
6363
/// down to the process from the parent process.
6464
///
6565
/// This function will not return until the process is done running.

0 commit comments

Comments
 (0)