diff options
| author | Rishi-k-s <rishikrishna.sr@gmail.com> | 2024-10-10 00:25:07 +0530 |
|---|---|---|
| committer | Rishi-k-s <rishikrishna.sr@gmail.com> | 2024-10-10 00:25:07 +0530 |
| commit | b250b4d894d480a6fcff0a8211409bd789d29912 (patch) | |
| tree | e357f5f2d1d274e602d50473a95ca83e1a56646d | |
| parent | 049be4c599572be4b2c0e83faf96f8d780d639e7 (diff) | |
| -rw-r--r-- | src/main.rs | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/main.rs b/src/main.rs index 9c31699..c075921 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,11 +1,6 @@ -use ferris_says::say; // from the previous step -use std::io::{stdout, BufWriter}; +// use std::io::{stdout, BufWriter}; fn main() { - let stdout = stdout(); - let message = String::from("Hello fellow Rustaceans!"); - let width = message.chars().count(); - - let mut writer = BufWriter::new(stdout.lock()); - say(&message, width, &mut writer).unwrap(); + println!("oii\n"); + println!("oii"); }
\ No newline at end of file |
