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_
|
/// the same key. However, `min(data, key=itemgetter(0))` will return the _first_
|
||||||
/// "minimum" element in the list in the same scenario.
|
/// "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
|
/// ## References
|
||||||
/// - [Python documentation: `min`](https://docs.python.org/3/library/functions.html#min)
|
/// - [Python documentation: `min`](https://docs.python.org/3/library/functions.html#min)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue