Run linter

This commit is contained in:
ayazhafiz 2022-01-31 18:18:14 -05:00
parent f7a055fc78
commit 9f72b2710f
9 changed files with 66 additions and 32 deletions

View file

@ -338,10 +338,10 @@ impl TypedNumericBound for NumericBound<FloatWidth> {
impl TypedNumericBound for NumericBound<NumWidth> {
fn num_type(&self) -> Type {
match self {
&NumericBound::None { width_variable } => num_num(Type::Variable(width_variable)),
&NumericBound::Exact(NumWidth::Int(iw)) => NumericBound::Exact(iw).num_type(),
&NumericBound::Exact(NumWidth::Float(fw)) => NumericBound::Exact(fw).num_type(),
match *self {
NumericBound::None { width_variable } => num_num(Type::Variable(width_variable)),
NumericBound::Exact(NumWidth::Int(iw)) => NumericBound::Exact(iw).num_type(),
NumericBound::Exact(NumWidth::Float(fw)) => NumericBound::Exact(fw).num_type(),
}
}