12: Add solution for "quiz2".

[?]
Aaw9nJhsNmfzFih9mKyNw9mV8CgERXJkRa1kK1Kx3LQH
Aug 6, 2021, 2:36 PM
AVYTQ3T64NDGZBU3TIA5NJQQRZINIOATL3ZLWBQQJCWUVQ2EMATAC

Dependencies

Change contents

  • edit in exercises/quiz2.rs at line 9
    [2.112108][2.112108:112126]()
    // I AM NOT DONE
  • replacement in exercises/quiz2.rs at line 18
    [2.112248][2.112248:112621]()
    ???("blue");
    ???("red".to_string());
    ???(String::from("hi"));
    ???("rust is fun!".to_owned());
    ???("nice weather".into());
    ???(format!("Interpolation {}", "Station"));
    ???(&String::from("abc")[0..1]);
    ???(" hello there ".trim());
    ???("Happy Monday!".to_string().replace("Mon", "Tues"));
    ???("mY sHiFt KeY iS sTiCkY".to_lowercase());
    [2.112248]
    [2.112621]
    string_slice("blue");
    string("red".to_string());
    string(String::from("hi"));
    string("rust is fun!".to_owned());
    string("nice weather".into());
    string(format!("Interpolation {}", "Station"));
    string_slice(&String::from("abc")[0..1]);
    string_slice(" hello there ".trim());
    string("Happy Monday!".to_string().replace("Mon", "Tues"));
    string("mY sHiFt KeY iS sTiCkY".to_lowercase());