Skip to content

Commit 804ff11

Browse files
authored
Fix doc comment issues reported by pub.dev (#882)
1 parent c064ca8 commit 804ff11

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

pkgs/args/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ The resulting string looks something like this:
446446
[ArgParser]: https://pub.dev/documentation/args/latest/args/ArgParser/ArgParser.html
447447
[ArgParserException]: https://pub.dev/documentation/args/latest/args/ArgParserException-class.html
448448
[ArgResults]: https://pub.dev/documentation/args/latest/args/ArgResults-class.html
449+
[ArgumentError]: https://api.dart.dev/dart-core/ArgumentError-class.html
449450
[CommandRunner]: https://pub.dev/documentation/args/latest/command_runner/CommandRunner-class.html
450451
[Command]: https://pub.dev/documentation/args/latest/command_runner/Command-class.html
451452
[UsageException]: https://pub.dev/documentation/args/latest/command_runner/UsageException-class.html

pkgs/async/lib/src/stream_group.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ class StreamGroup<T> implements Sink<Stream<T>> {
124124

125125
/// Adds [stream] as a member of this group.
126126
///
127-
/// Any events from [stream] will be emitted through [this.stream]. If this
128-
/// group has a listener, [stream] will be listened to immediately; otherwise
129-
/// it will only be listened to once this group gets a listener.
127+
/// Any events from [stream] will be emitted through [StreamGroup.stream]. If
128+
/// this group has a listener, [stream] will be listened to immediately;
129+
/// otherwise it will only be listened to once this group gets a listener.
130130
///
131131
/// If this is a single-subscription group and its subscription has been
132132
/// canceled, [stream] will be canceled as soon as its added. If this returns

pkgs/fixnum/lib/src/int32.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import 'int64.dart';
88
import 'intx.dart';
99
import 'utilities.dart' as u;
1010

11-
/// An immutable 32-bit signed integer, in the range [-2^31, 2^31 - 1].
11+
/// An immutable 32-bit signed integer, in the range `[-2^31, 2^31 - 1]`.
1212
/// Arithmetic operations may overflow in order to maintain this range.
1313
class Int32 implements IntX {
1414
/// The maximum positive value attainable by an [Int32], namely

pkgs/fixnum/lib/src/int64.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import 'int32.dart';
1313
import 'intx.dart';
1414
import 'utilities.dart' as u;
1515

16-
/// An immutable 64-bit signed integer, in the range [-2^63, 2^63 - 1].
16+
/// An immutable 64-bit signed integer, in the range `[-2^63, 2^63 - 1]`.
1717
/// Arithmetic operations may overflow in order to maintain this range.
1818
class Int64 implements IntX {
1919
// A 64-bit integer is represented internally as three non-negative

0 commit comments

Comments
 (0)