Skip to content

Commit c8467d9

Browse files
committed
fix build
1 parent a7f6156 commit c8467d9

File tree

1 file changed

+1
-2
lines changed
  • src/catalyst-toolbox/catalyst-toolbox/src/ideascale/models/de

1 file changed

+1
-2
lines changed

src/catalyst-toolbox/catalyst-toolbox/src/ideascale/models/de/clean_string.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ pub fn clean_str(s: &str) -> String {
7171
}
7272

7373
#[cfg(any(test, feature = "test-api"))]
74+
#[allow(dead_code)]
7475
mod tests {
7576
use proptest::arbitrary::any;
7677
#[allow(unused_imports)]
@@ -93,7 +94,6 @@ mod tests {
9394
type Strategy = Map<StrategyFor<String>, fn(String) -> Self>;
9495
}
9596

96-
#[allow(dead_code)]
9797
fn parse(s: &str) -> CleanString {
9898
let s = format!(r#""{s}""#);
9999
serde_json::from_str(&s).unwrap()
@@ -106,7 +106,6 @@ mod tests {
106106
}
107107

108108
#[proptest]
109-
#[allow(dead_code)]
110109
fn any_string_deserializes_to_clean_string(s: String) {
111110
let json = json!(s);
112111
let _: CleanString = serde_json::from_value(json).unwrap();

0 commit comments

Comments
 (0)