Last active
June 27, 2024 11:53
-
-
Save sheepla/f92e0956b058c019561e5da5653a89b1 to your computer and use it in GitHub Desktop.
๐ฆใใใฎใใฎใใฎใใใใใใใ in Rust๐ฆ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::iter; | |
fn main() { | |
iter::repeat( | |
iter::once("ใใ") | |
.chain(iter::repeat("ใฎใ").take(3)) | |
.chain(iter::once("ใใ")) | |
.chain(iter::repeat("ใใ").take(2)) | |
.chain(iter::once("\n")), | |
) | |
.take(3) | |
.flatten() | |
.for_each(|item| print!("{}", item)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment