remove some more missing details

This commit is contained in:
ahgamut 2022-09-07 18:38:15 +05:30
parent df3760be0b
commit 37faf13dec
3 changed files with 7 additions and 6 deletions

View file

@ -1,6 +1,6 @@
// ./src/std_misc/channels.md
/*
use std::sync::mpsc::{Sender, Receiver};
use std::sync::mpsc;
use std::thread;
@ -48,8 +48,9 @@ fn part0() {
// Show the order in which the messages were sent
println!("{:?}", ids);
}
*/
pub fn main() {
part0();
// part0();
}

View file

@ -1,6 +1,6 @@
// ./src/std_misc/threads/testcase_mapreduce.md
/*
use std::thread;
// This is the `main` thread
@ -92,10 +92,10 @@ fn part0() {
println!("Final sum result: {}", final_result);
}
*/
pub fn main() {
part0();
// part0();
}

View file

@ -15,7 +15,7 @@ fn part0() {
// End of the block
// Error! `short_lived_binding` doesn't exist in this scope
println!("outer short: {}", short_lived_binding);
// println!("outer short: {}", short_lived_binding);
// FIXME ^ Comment out this line
println!("outer long: {}", long_lived_binding);