From e499a27f04690467710b2353702e24798f624389 Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Thu, 24 Jun 2021 14:12:52 -0600 Subject: [PATCH] Revert change to string combine function for tests. --- src/lib.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index f86beb0..e79ef3f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -25,7 +25,7 @@ //! roll back to any previous checkpoint. pub mod bridgetree; -pub mod sample; +mod sample; use serde::{Deserialize, Serialize}; use std::ops::Add; @@ -319,9 +319,8 @@ pub(crate) mod tests { "_".to_string() } - fn combine(l: Altitude, a: &Self, b: &Self) -> Self { - format!("{}({}{})", l.0, a, b) - //a.to_string() + b + fn combine(_: Altitude, a: &Self, b: &Self) -> Self { + a.to_string() + b } }