From e0a8fb607a95614bb2e1806d9393f04688d4da00 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Wed, 3 Apr 2024 14:13:10 -0600 Subject: [PATCH] fix obsolete name in resolve_qualified_name docs (#10762) `resolve_call_path` was renamed to `resolve_qualified_name` in a6d892b1f4b45bfed918f3240218d5fcd39d3099, but the doc block for the function wasn't updated to match. --- crates/ruff_python_semantic/src/model.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_python_semantic/src/model.rs b/crates/ruff_python_semantic/src/model.rs index 7745426ec9..07dce98d1e 100644 --- a/crates/ruff_python_semantic/src/model.rs +++ b/crates/ruff_python_semantic/src/model.rs @@ -680,7 +680,7 @@ impl<'a> SemanticModel<'a> { /// print(python_version) /// ``` /// - /// ...then `resolve_call_path(${python_version})` will resolve to `sys.version_info`. + /// ...then `resolve_qualified_name(${python_version})` will resolve to `sys.version_info`. pub fn resolve_qualified_name<'name, 'expr: 'name>( &self, value: &'expr Expr,