From dc791c6d49b5a8e67f10e2de0b8d1dbc069205e2 Mon Sep 17 00:00:00 2001 From: shonya3 Date: Wed, 26 Apr 2023 16:00:17 +0300 Subject: [PATCH] rm boilerplate --- src-tauri/lib/src/lib.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src-tauri/lib/src/lib.rs b/src-tauri/lib/src/lib.rs index 0aee0706..28332380 100644 --- a/src-tauri/lib/src/lib.rs +++ b/src-tauri/lib/src/lib.rs @@ -3,18 +3,3 @@ pub mod dev; pub mod file_card_data; pub mod prices; pub mod starter_map; - -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); - } -}