From f4263490513ff1f5283b6801de4744a28f36df98 Mon Sep 17 00:00:00 2001 From: Simon Brugman Date: Wed, 30 Oct 2024 13:07:42 +0100 Subject: [PATCH] docs: typo in refurb-sorted-min-max (#13993) --- crates/ruff_linter/src/rules/refurb/rules/sorted_min_max.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_linter/src/rules/refurb/rules/sorted_min_max.rs b/crates/ruff_linter/src/rules/refurb/rules/sorted_min_max.rs index 34bdc914c1..16346ba53a 100644 --- a/crates/ruff_linter/src/rules/refurb/rules/sorted_min_max.rs +++ b/crates/ruff_linter/src/rules/refurb/rules/sorted_min_max.rs @@ -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)