We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bd66b9 commit 156ff07Copy full SHA for 156ff07
1 file changed
src/scheme.rs
@@ -44,8 +44,7 @@ impl NetworkScheme {
44
/// The only user facing function. Starts a network process and runs the main loop. Blocks, so recommended to run this in its own thread.
45
pub fn main_loop(mut self) {
46
// input and output ports for the repl thread
47
- let repl_channels: Arc<Mutex<Vec<ReplInputOutputPair>>> =
48
- Arc::new(Mutex::new(Vec::new()));
+ let repl_channels: Arc<Mutex<Vec<ReplInputOutputPair>>> = Arc::new(Mutex::new(Vec::new()));
49
50
{
51
let repl_channels = Arc::clone(&repl_channels);
0 commit comments