Expand description
use clippy_output::ClippyOutput;
let mut clippy = ClippyOutput::new(50);
clippy
.add_str("It looks like you're creating a project in\nRust. Would you like some help with that?");
clippy.finish();
let output: String = clippy.collect();
println!("{}", output);
/‾‾\
| |
@ @
|| |/
|| ||
|\_/|
\___/
/\
/‾ ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\
| It looks like you're creating a project in |
| Rust. Would you like some help with that? |
\________________________________________________/
Structs§
- Clippy
Output - Inputs a string and outputs ascii art of Clippy saying the text.