Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ borrow_vars
Method
borrow_vars
crates/stdlib/src/contextvars.rs:82–84 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
80
}
81
82
fn borrow_vars(&self) -> impl core::ops::Deref<Target = Hamt> + '_ {
83
self.inner.vars.hamt.borrow()
84
}
85
86
fn borrow_vars_mut(&self) -> impl core::ops::DerefMut<Target = Hamt> + '_ {
87
self.inner.vars.hamt.borrow_mut()
Callers
10
contains
Method · 0.80
get_inner
Method · 0.80
__getitem__
Method · 0.80
__len__
Method · 0.80
keys
Method · 0.80
values
Method · 0.80
items
Method · 0.80
iter
Method · 0.80
get
Method · 0.80
set
Method · 0.80
Calls
1
borrow
Method · 0.45
Tested by
no test coverage detected