From 25e0a5ca33e93935c7543d80e1932832d0d5074e Mon Sep 17 00:00:00 2001 From: Daniel Harvey Date: Fri, 25 Oct 2024 17:21:50 +0100 Subject: [PATCH] Lint issue --- .../translation/src/translation/mutation/v2/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/query-engine/translation/src/translation/mutation/v2/common.rs b/crates/query-engine/translation/src/translation/mutation/v2/common.rs index 9b6ca6451..b48abd875 100644 --- a/crates/query-engine/translation/src/translation/mutation/v2/common.rs +++ b/crates/query-engine/translation/src/translation/mutation/v2/common.rs @@ -127,5 +127,5 @@ fn test_version_prefix() { get_version_prefix(&Some("horse".into())), "horse_".to_string() ); - assert_eq!(get_version_prefix(&Some("".into())), "".to_string()); + assert_eq!(get_version_prefix(&Some(String::new())), String::new()); }