Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeSentryAI/lockbud
/ MyStruct
Class
MyStruct
toys/conflict/src/main.rs:5–9 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
use std::time::Duration;
4
5
struct MyStruct {
6
mu: Mutex<bool>,
7
rw1: RwLock<i32>,
8
rw2: RwLock<u8>,
9
}
10
11
impl MyStruct {
12
fn new() -> Self {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected