Skip to content

Commit

Permalink
Remove temporary placeholder function (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten authored Dec 10, 2023
1 parent 8f312a6 commit 85b4c60
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
5 changes: 0 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
8 changes: 0 additions & 8 deletions src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 85b4c60

Please sign in to comment.