mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 06:11:43 +00:00
docs: typo in refurb-sorted-min-max (#13993)
This commit is contained in:
parent
42c70697d8
commit
f426349051
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue