Browse Source

Fix formatting

content-update
Augusto 3 years ago
parent
commit
1e8af733e1
  1. 12
      subjects/simple_hash/README.md

12
subjects/simple_hash/README.md

@ -37,21 +37,21 @@ fn main() {
println!( println!(
"Does the HashMap contains the name Roman? => {}", "Does the HashMap contains the name Roman? => {}",
contain(hash.clone(), "Roman") contain(hash.clone(), "Roman")
//----------^^^^^^^^ //----------^^^^^^^^
// this is not correct, fix it to match the solution the expected function // this is not correct, fix it to match the solution the expected function
); );
println!( println!(
"Does the HashMap contains the name Katie? => {}", "Does the HashMap contains the name Katie? => {}",
contain(hash.clone(), "Katie") contain(hash.clone(), "Katie")
//----------^^^^^^^^ //----------^^^^^^^^
// this is not correct, fix it to match the solution the expected function // this is not correct, fix it to match the solution the expected function
); );
println!("Removing Robert {:?}", remove(hash.clone(), "Robert")); println!("Removing Robert {:?}", remove(hash.clone(), "Robert"));
println!( println!(
"Does the HashMap contains the name Robert? => {}", "Does the HashMap contains the name Robert? => {}",
contain(hash.clone(), "Robert") contain(hash.clone(), "Robert")
//----------^^^^^^^^ //----------^^^^^^^^
// this is not correct, fix it to match the solution the expected function // this is not correct, fix it to match the solution the expected function
); );
println!("Hash {:?}", &hash); println!("Hash {:?}", &hash);
} }

Loading…
Cancel
Save