From c0c5a978b225d2e02be858e98e24455b7f79b1a0 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 29 Jul 2024 11:27:21 -0700 Subject: [PATCH] Fix some trivial doc comment lints (#110) --- lib/src/stream_channel_controller.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/src/stream_channel_controller.dart b/lib/src/stream_channel_controller.dart index 5c78866..25d5239 100644 --- a/lib/src/stream_channel_controller.dart +++ b/lib/src/stream_channel_controller.dart @@ -2,6 +2,9 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. +/// @docImport 'isolate_channel.dart'; +library; + import 'dart:async'; import '../stream_channel.dart'; @@ -11,7 +14,7 @@ import '../stream_channel.dart'; /// This exposes two connected [StreamChannel]s, [local] and [foreign]. The /// user's code should use [local] to emit and receive events. Then [foreign] /// can be returned for others to use. For example, here's a simplified version -/// of the implementation of [new IsolateChannel]: +/// of the implementation of [IsolateChannel.new]: /// /// ```dart /// StreamChannel isolateChannel(ReceivePort receivePort, SendPort sendPort) {