Skip to content

Commit

Permalink
Add From<FeString> for FixedSize
Browse files Browse the repository at this point in the history
  • Loading branch information
cburgdorf committed Jul 2, 2021
1 parent 2c3790b commit 05da3ea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/analyzer/src/namespace/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,12 @@ impl From<Base> for FixedSize {
}
}

impl From<FeString> for FixedSize {
fn from(value: FeString) -> Self {
FixedSize::String(value)
}
}

impl TryFrom<Type> for FixedSize {
type Error = TypeError;

Expand Down

0 comments on commit 05da3ea

Please sign in to comment.