From be342bc9708f5a02e07989ace45b302c7cf3e741 Mon Sep 17 00:00:00 2001 From: Futuristic Goo Date: Tue, 26 Dec 2023 22:02:49 +0530 Subject: [PATCH 1/2] Fix typo --- lib/src/cancelable_operation.dart | 2 +- lib/src/result/result.dart | 2 +- lib/src/subscription_stream.dart | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/cancelable_operation.dart b/lib/src/cancelable_operation.dart index 0964d88..bb59f60 100644 --- a/lib/src/cancelable_operation.dart +++ b/lib/src/cancelable_operation.dart @@ -69,7 +69,7 @@ class CancelableOperation { /// /// Once any of [operations] completes, its result is forwarded to the /// new [CancelableOperation] and the rest are cancelled. If the - /// bew operation is cancelled, all the [operations] are cancelled as + /// new operation is cancelled, all the [operations] are cancelled as /// well. static CancelableOperation race( Iterable> operations) { diff --git a/lib/src/result/result.dart b/lib/src/result/result.dart index 2de3902..fe09b94 100644 --- a/lib/src/result/result.dart +++ b/lib/src/result/result.dart @@ -17,7 +17,7 @@ import 'value.dart'; /// Capturing a result (either a returned value or a thrown error) means /// converting it into a [Result] - either a [ValueResult] or an [ErrorResult]. /// -/// This value can release itself by writing itself either to a [EventSink] or a +/// This value can release itself by writing itself either to an [EventSink] or a /// [Completer], or by becoming a [Future]. /// /// A [Future] represents a potential result, one that might not have been diff --git a/lib/src/subscription_stream.dart b/lib/src/subscription_stream.dart index 6be88e3..5572adf 100644 --- a/lib/src/subscription_stream.dart +++ b/lib/src/subscription_stream.dart @@ -14,7 +14,7 @@ import 'delegate/stream_subscription.dart'; /// then it is resumed and the events are passed on to the /// stream's new subscription. /// -/// This class assumes that is has control over the original subscription. +/// This class assumes that it has control over the original subscription. /// If other code is accessing the subscription, results may be unpredictable. class SubscriptionStream extends Stream { /// The subscription providing the events for this stream. From ba26d99849d3fa100923af52eac9c0d482e8a156 Mon Sep 17 00:00:00 2001 From: FuturisticGoo Date: Sun, 7 Jan 2024 22:43:56 +0530 Subject: [PATCH 2/2] Fixed long line --- lib/src/result/result.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/result/result.dart b/lib/src/result/result.dart index fe09b94..124ccef 100644 --- a/lib/src/result/result.dart +++ b/lib/src/result/result.dart @@ -17,8 +17,8 @@ import 'value.dart'; /// Capturing a result (either a returned value or a thrown error) means /// converting it into a [Result] - either a [ValueResult] or an [ErrorResult]. /// -/// This value can release itself by writing itself either to an [EventSink] or a -/// [Completer], or by becoming a [Future]. +/// This value can release itself by writing itself either to an [EventSink] or +/// a [Completer], or by becoming a [Future]. /// /// A [Future] represents a potential result, one that might not have been /// computed yet, and a [Result] is always a completed and available result.