🛠️ Phase C: SocketBox Arc<RwLock> + syntax fixes for multiple Box types

Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-08-15 04:48:10 +00:00
parent 8d9c8b5899
commit 327ad37c3e
8 changed files with 39 additions and 47 deletions

View File

@ -377,14 +377,13 @@ impl NyashBox for DebugBox {
}
fn clone_box(&self) -> Box<dyn NyashBox> {
Box::new(self.clone())
}
/// 仮実装: clone_boxと同じ後で修正
fn share_box(&self) -> Box<dyn NyashBox> {
self.clone_box()
}
Box::new(self.clone())
}
}