diff --git a/crates/ruff_linter/src/rules/flake8_use_pathlib/violations.rs b/crates/ruff_linter/src/rules/flake8_use_pathlib/violations.rs index 23a83c925f4cac..c6f4499f514044 100644 --- a/crates/ruff_linter/src/rules/flake8_use_pathlib/violations.rs +++ b/crates/ruff_linter/src/rules/flake8_use_pathlib/violations.rs @@ -1116,7 +1116,7 @@ impl Violation for PyPath { /// /// ```python /// p = "." -/// for d in os.listdir(p)): +/// for d in os.listdir(p): /// ... /// ``` ///