diff --git a/crates/ruff_linter/src/rules/ruff/rules/none_not_at_end_of_union.rs b/crates/ruff_linter/src/rules/ruff/rules/none_not_at_end_of_union.rs index a040bc9618..d69c9cd567 100644 --- a/crates/ruff_linter/src/rules/ruff/rules/none_not_at_end_of_union.rs +++ b/crates/ruff_linter/src/rules/ruff/rules/none_not_at_end_of_union.rs @@ -11,7 +11,7 @@ use crate::checkers::ast::Checker; /// Checks for type annotations where `None` is not at the end of an union. /// /// ## Why is this bad? -/// Type annotation unions are associative, meaning that the order of the elements +/// Type annotation unions are commutative, meaning that the order of the elements /// does not matter. The `None` literal represents the absence of a value. For /// readability, it's preferred to write the more informative type expressions first. ///