mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-17 00:50:16 +00:00
Use BindingId
copies in lieu of &BindingId
in semantic model methods (#4633)
This commit is contained in:
parent
f4f1b1d0ee
commit
f0e173d9fd
11 changed files with 45 additions and 51 deletions
|
@ -24,8 +24,8 @@ impl Reference {
|
|||
self.range
|
||||
}
|
||||
|
||||
pub const fn context(&self) -> &ExecutionContext {
|
||||
&self.context
|
||||
pub const fn context(&self) -> ExecutionContext {
|
||||
self.context
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue