diff options
Diffstat (limited to 'rust/src/main.rs')
| -rw-r--r-- | rust/src/main.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rust/src/main.rs b/rust/src/main.rs new file mode 100644 index 0000000..e9759d6 --- /dev/null +++ b/rust/src/main.rs @@ -0,0 +1,11 @@ +fn main() { + println!("Hello, world!"); +} + +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +} |
