docs: typo in refurb-sorted-min-max (#13993)

This commit is contained in:
Simon Brugman 2024-10-30 13:07:42 +01:00 committed by GitHub
parent 42c70697d8
commit f426349051
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)