Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/aiscriptdev/aiscript
/ clone
Method
clone
aiscript-arena/src/lock.rs:185–187 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
183
impl<T: Copy> Clone for Lock<T> {
184
#[inline]
185
fn clone(&self) -> Self {
186
Self::new(self.get())
187
}
188
}
189
190
// Can't use `#[derive]` because of the non-standard bounds.
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected