1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-10-08 23:02:03 +02:00

Require a main function in all exercises

This commit is contained in:
mo8it
2024-04-17 22:46:21 +02:00
parent d83cc69afe
commit cb9f1ac9ce
39 changed files with 199 additions and 44 deletions

View File

@@ -16,6 +16,10 @@ impl Wrapper {
}
}
fn main() {
// You can optionally experiment here.
}
#[cfg(test)]
mod tests {
use super::*;