mirror of
https://github.com/astral-sh/ruff
synced 2026-01-09 15:44:22 -05:00
Rename Checker::model to semantic_model (#4573)
This commit is contained in:
@@ -261,10 +261,7 @@ impl<'a> SemanticModel<'a> {
|
||||
/// ```
|
||||
///
|
||||
/// ...then `resolve_call_path(${python_version})` will resolve to `sys.version_info`.
|
||||
pub fn resolve_call_path<'b>(&'a self, value: &'b Expr) -> Option<CallPath<'a>>
|
||||
where
|
||||
'b: 'a,
|
||||
{
|
||||
pub fn resolve_call_path(&'a self, value: &'a Expr) -> Option<CallPath<'a>> {
|
||||
let Some(call_path) = collect_call_path(value) else {
|
||||
return None;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user