From 93b1c04a218858ecc59b6b8929103695b7b8c2a0 Mon Sep 17 00:00:00 2001 From: Carlos Maiolino Date: Sat, 6 Sep 2025 09:30:14 +0200 Subject: Move rust playground here Signed-off-by: Carlos Maiolino --- rust/chap4/test.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 rust/chap4/test.rs (limited to 'rust/chap4/test.rs') diff --git a/rust/chap4/test.rs b/rust/chap4/test.rs new file mode 100644 index 0000000..eabcaeb --- /dev/null +++ b/rust/chap4/test.rs @@ -0,0 +1,14 @@ +fn read(y: bool) { + if y { + println!("Y is true"); + } + +} + +fn main() { + + read(t); + let t: bool = true; + + return; +} -- cgit v1.2.3