Skip to content

Commit

Permalink
Fix angle brackets in doc comments (dart-archive/collection#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Aug 26, 2024
1 parent 5325d66 commit cdf4782
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/collection/lib/src/functions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ Map<T, List<S>> groupBy<S, T>(Iterable<S> values, T Function(S) key) {
/// value.
///
/// The values returned by [orderBy] are compared using the [compare] function.
/// If [compare] is omitted, values must implement [Comparable<T>] and they are
/// compared using their [Comparable.compareTo].
/// If [compare] is omitted, values must implement [Comparable]`<T>` and they
/// are compared using their [Comparable.compareTo].
///
/// Returns `null` if [values] is empty.
S? minBy<S, T>(Iterable<S> values, T Function(S) orderBy,
Expand All @@ -89,8 +89,8 @@ S? minBy<S, T>(Iterable<S> values, T Function(S) orderBy,
/// value.
///
/// The values returned by [orderBy] are compared using the [compare] function.
/// If [compare] is omitted, values must implement [Comparable<T>] and they are
/// compared using their [Comparable.compareTo].
/// If [compare] is omitted, values must implement [Comparable]`<T>` and they
/// are compared using their [Comparable.compareTo].
///
/// Returns `null` if [values] is empty.
S? maxBy<S, T>(Iterable<S> values, T Function(S) orderBy,
Expand Down

0 comments on commit cdf4782

Please sign in to comment.