mirror of https://github.com/01-edu/public.git
10 lines
380 B
Rust
10 lines
380 B
Rust
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"));
|
|
}
|