diff --git a/crates/ruff_linter/src/rules/refurb/rules/implicit_cwd.rs b/crates/ruff_linter/src/rules/refurb/rules/implicit_cwd.rs index 0060703cc5741..a3a5452852805 100644 --- a/crates/ruff_linter/src/rules/refurb/rules/implicit_cwd.rs +++ b/crates/ruff_linter/src/rules/refurb/rules/implicit_cwd.rs @@ -14,7 +14,7 @@ use crate::{checkers::ast::Checker, importer::ImportRequest, registry::AsRule}; /// /// ## Example /// ```python -/// cwd = Path.resolve() +/// cwd = Path().resolve() /// ``` /// /// Use instead: