Skip to content

Commit

Permalink
fix bug Cow::Borrowd -> Owned
Browse files Browse the repository at this point in the history
  • Loading branch information
friendbear committed Jun 19, 2024
1 parent 6ddf94d commit e928b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iriam-profile/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ mod tests_lifetime {

match v.get(index) {
Some(s) => Cow::Borrowed(s),
None => Cow::Borrowed(""),
None => Cow::Owned("".to_string()),
}
}

Expand Down

0 comments on commit e928b80

Please sign in to comment.