mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
380 B
10 lines
380 B
1 year ago
|
use counting_words::counting_words;
|
||
|
use std::collections::HashMap;
|
||
|
|
||
|
fn main() {
|
||
|
println!("{:?}", counting_words("Hello, world!"));
|
||
|
println!("{:?}", counting_words("“Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.”
|
||
|
― Albert Einstein "));
|
||
|
println!("{:?}", counting_words("Batman, BATMAN, batman, Stop stop"));
|
||
|
}
|