mirror of https://github.com/astral-sh/ruff
docs: typo in refurb-sorted-min-max (#13993)
This commit is contained in:
parent
42c70697d8
commit
f426349051
|
|
@ -42,7 +42,7 @@ use crate::checkers::ast::Checker;
|
|||
/// the same key. However, `min(data, key=itemgetter(0))` will return the _first_
|
||||
/// "minimum" element in the list in the same scenario.
|
||||
///
|
||||
/// AS such, this rule's fix is marked as unsafe when the `reverse` keyword is used.
|
||||
/// As such, this rule's fix is marked as unsafe when the `reverse` keyword is used.
|
||||
///
|
||||
/// ## References
|
||||
/// - [Python documentation: `min`](https://docs.python.org/3/library/functions.html#min)
|
||||
|
|
|
|||
Loading…
Reference in New Issue