MCPcopy Create free account
hub / github.com/CodeSentryAI/lockbud / new

Method new

toys/conflict-inter/src/main.rs:10–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9impl Foo {
10 fn new() -> Self {
11 Self {
12 mu1: sync::Arc::new(sync::Mutex::new(1)),
13 rw1: sync::RwLock::new(1),
14 }
15 }
16
17 fn std_mutex_1(&self) {
18 match *self.mu1.lock().unwrap() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected