Skip to content

Commit cdf4782

Browse files
authored
Fix angle brackets in doc comments (dart-archive/collection#358)
1 parent 5325d66 commit cdf4782

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkgs/collection/lib/src/functions.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ Map<T, List<S>> groupBy<S, T>(Iterable<S> values, T Function(S) key) {
6565
/// value.
6666
///
6767
/// The values returned by [orderBy] are compared using the [compare] function.
68-
/// If [compare] is omitted, values must implement [Comparable<T>] and they are
69-
/// compared using their [Comparable.compareTo].
68+
/// If [compare] is omitted, values must implement [Comparable]`<T>` and they
69+
/// are compared using their [Comparable.compareTo].
7070
///
7171
/// Returns `null` if [values] is empty.
7272
S? minBy<S, T>(Iterable<S> values, T Function(S) orderBy,
@@ -89,8 +89,8 @@ S? minBy<S, T>(Iterable<S> values, T Function(S) orderBy,
8989
/// value.
9090
///
9191
/// The values returned by [orderBy] are compared using the [compare] function.
92-
/// If [compare] is omitted, values must implement [Comparable<T>] and they are
93-
/// compared using their [Comparable.compareTo].
92+
/// If [compare] is omitted, values must implement [Comparable]`<T>` and they
93+
/// are compared using their [Comparable.compareTo].
9494
///
9595
/// Returns `null` if [values] is empty.
9696
S? maxBy<S, T>(Iterable<S> values, T Function(S) orderBy,

0 commit comments

Comments
 (0)