mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-08 10:43:31 +02:00
Require a main function in all exercises
This commit is contained in:
@@ -13,6 +13,10 @@ pub fn foo_if_fizz(fizzish: &str) -> &str {
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {
|
||||
// You can optionally experiment here.
|
||||
}
|
||||
|
||||
// No test changes needed!
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
||||
Reference in New Issue
Block a user