From b1e3b57865725b46ddc5c83e380dc4fafa1d0bf5 Mon Sep 17 00:00:00 2001 From: Isaac Mills Date: Sun, 30 Jan 2022 06:14:01 -0500 Subject: [PATCH] F-fwix s-stutewing --- src/lib.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index c692a36..56f5b6e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -172,7 +172,11 @@ impl<'a> UwUify<'a> { (0..self.int_rng.gen_range(1..2)) .into_iter() .try_for_each(|_| { - out.write_all(&[word[0]])?; + match word[0] { + b'L' | b'R' => out.write_all(b"W"), + b'l' | b'r' => out.write_all(b"w"), + b => out.write_all(&[b]), + }?; out.write_all(b"-") })?; } @@ -195,7 +199,7 @@ impl<'a> UwUify<'a> { _ => out.write_all(&[word[index]]), } } - _ => out.write_all(&[word[index]]), + b => out.write_all(&[b]), })?; } out.write_all(b" ")