Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Fix angle brackets in doc comments (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Aug 26, 2024
1 parent 0c1f829 commit 24b75d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 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 24b75d8

Please sign in to comment.