From 7ea3a549b29b8456600958cd42e5dc3d43265570 Mon Sep 17 00:00:00 2001 From: Victorien <65306057+Viicos@users.noreply.github.com> Date: Sat, 28 Dec 2024 23:44:01 +0100 Subject: [PATCH] Fix typo in `NameImport.qualified_name` docstring (#15170) --- crates/ruff_python_semantic/src/imports.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_python_semantic/src/imports.rs b/crates/ruff_python_semantic/src/imports.rs index 0936ed02731cc..6ef0725e6d497 100644 --- a/crates/ruff_python_semantic/src/imports.rs +++ b/crates/ruff_python_semantic/src/imports.rs @@ -56,7 +56,7 @@ impl NameImport { } } - /// Returns the [`QualifiedName`] of the imported name (e.g., given `import foo import bar as baz`, returns `["foo", "bar"]`). + /// Returns the [`QualifiedName`] of the imported name (e.g., given `from foo import bar as baz`, returns `["foo", "bar"]`). fn qualified_name(&self) -> QualifiedName { match self { NameImport::Import(import) => QualifiedName::user_defined(&import.name.name),