Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Aug 2, 2022
1 parent 36ebd0a commit 38e14a1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/input/return_enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,6 @@ impl<'a> EitherString<'a> {
}
}

impl<'a> From<String> for EitherString<'a> {
fn from(data: String) -> Self {
Self::Cow(Cow::Owned(data))
}
}

impl<'a> From<&'a str> for EitherString<'a> {
fn from(data: &'a str) -> Self {
Self::Cow(Cow::Borrowed(data))
Expand Down

0 comments on commit 38e14a1

Please sign in to comment.