From e928b80b919ab6ffa4056f8d2c8d4772c8307dca Mon Sep 17 00:00:00 2001 From: T Kumagai <4956799+friendbear@users.noreply.github.com> Date: Wed, 19 Jun 2024 13:57:49 +0900 Subject: [PATCH] fix bug Cow::Borrowd -> Owned --- iriam-profile/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iriam-profile/src/main.rs b/iriam-profile/src/main.rs index 8129ac5..92f5cff 100644 --- a/iriam-profile/src/main.rs +++ b/iriam-profile/src/main.rs @@ -385,7 +385,7 @@ mod tests_lifetime { match v.get(index) { Some(s) => Cow::Borrowed(s), - None => Cow::Borrowed(""), + None => Cow::Owned("".to_string()), } }