Skip to content

Commit

Permalink
finish strings2
Browse files Browse the repository at this point in the history
  • Loading branch information
cyz-ing committed Jan 18, 2025
1 parent fb28621 commit 3fb9350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/strings/strings2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// I AM NOT DONE

fn main() {
let word = String::from("green"); // Try not changing this line :)
let word = "green"; // Try not changing this line :)
if is_a_color_word(word) {
println!("That is a color word I know!");
} else {
Expand Down

0 comments on commit 3fb9350

Please sign in to comment.