From 85b4c602dce2cd9e95d09567d41641fa7a7de546 Mon Sep 17 00:00:00 2001 From: Eric Scouten Date: Sat, 9 Dec 2023 16:22:53 -0800 Subject: [PATCH] Remove temporary placeholder function (#3) --- src/lib.rs | 5 ----- src/tests/mod.rs | 8 -------- 2 files changed, 13 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index bae5561..9ce09c2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,11 +5,6 @@ #![deny(warnings)] #![doc = include_str!("../README.md")] -/// TEMPORARY demo function -pub fn add(left: usize, right: usize) -> usize { - left + right -} - pub mod strings; #[cfg(test)] diff --git a/src/tests/mod.rs b/src/tests/mod.rs index 418072b..9f5f73e 100644 --- a/src/tests/mod.rs +++ b/src/tests/mod.rs @@ -5,13 +5,5 @@ #![allow(clippy::panic)] #![allow(clippy::unwrap_used)] -use super::*; - -#[test] -fn it_works() { - let result = add(2, 2); - assert_eq!(result, 4); -} - mod fixtures; mod strings;