forked from manning-liveproject/http-server-lp-author
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.rs
24 lines (21 loc) · 1.61 KB
/
main.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
fn main() {
let art : &str = r#"
█ █░ ▄▄▄ ██████ ███▄ ▄███▓▓█████ ▓█████▄ ▄████ ▓█████
▓█░ █ ░█░▒████▄ ▒██ ▒ ▓██▒▀█▀ ██▒▓█ ▀ ▒██▀ ██▌ ██▒ ▀█▒▓█ ▀
▒█░ █ ░█ ▒██ ▀█▄ ░ ▓██▄ ▓██ ▓██░▒███ ░██ █▌▒██░▄▄▄░▒███
░█░ █ ░█ ░██▄▄▄▄██ ▒ ██▒▒██ ▒██ ▒▓█ ▄ ░▓█▄ ▌░▓█ ██▓▒▓█ ▄
░░██▒██▓ ▓█ ▓██▒▒██████▒▒▒██▒ ░██▒░▒████▒░▒████▓ ░▒▓███▀▒░▒████▒
░ ▓░▒ ▒ ▒▒ ▓▒█░▒ ▒▓▒ ▒ ░░ ▒░ ░ ░░░ ▒░ ░ ▒▒▓ ▒ ░▒ ▒ ░░ ▒░ ░
▒ ░ ░ ▒ ▒▒ ░░ ░▒ ░ ░░ ░ ░ ░ ░ ░ ░ ▒ ▒ ░ ░ ░ ░ ░
░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
░
"#;
println!("{}", art);
let hello : &str = "Hello WasmEdge!";
let mut howdy : String = hello.replace("Hello", "Howdy");
println!("{}", hello);
println!("{}", howdy);
howdy.push_str(" -- from Texas");
println!("{}", howdy);
}