mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-10-30 23:16:29 +01:00
Require a main function in all exercises
This commit is contained in:
@@ -26,6 +26,10 @@ fn num_sq<T>(arg: &mut T) {
|
||||
???
|
||||
}
|
||||
|
||||
fn main() {
|
||||
// You can optionally experiment here.
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
Reference in New Issue
Block a user