Skip to content

Commit c49c410

Browse files
authored
Fix some trivial doc comment lints (dart-archive/stream_channel#110)
1 parent 2d967e9 commit c49c410

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkgs/stream_channel/lib/src/stream_channel_controller.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
/// @docImport 'isolate_channel.dart';
6+
library;
7+
58
import 'dart:async';
69

710
import '../stream_channel.dart';
@@ -11,7 +14,7 @@ import '../stream_channel.dart';
1114
/// This exposes two connected [StreamChannel]s, [local] and [foreign]. The
1215
/// user's code should use [local] to emit and receive events. Then [foreign]
1316
/// can be returned for others to use. For example, here's a simplified version
14-
/// of the implementation of [new IsolateChannel]:
17+
/// of the implementation of [IsolateChannel.new]:
1518
///
1619
/// ```dart
1720
/// StreamChannel isolateChannel(ReceivePort receivePort, SendPort sendPort) {

0 commit comments

Comments
 (0)