From 980cc2d42dc8e16b152671d3a7258e32e3f912f1 Mon Sep 17 00:00:00 2001 From: Milkman337 Date: Tue, 20 Aug 2024 21:43:09 +0200 Subject: [PATCH] Remove the default add function --- src/lib.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index c1d2959..372c495 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,18 +1,3 @@ pub mod router; pub mod entities; pub mod utilities; - -pub fn add(left: usize, right: usize) -> usize { - left + right -} - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn it_works() { - let result = add(2, 2); - assert_eq!(result, 4); - } -}