mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-24 07:48:04 +03:00
remove types from console.log and formatted strings
This commit is contained in:
parent
eff7d9d599
commit
8a3f59e9c0
@ -60,7 +60,7 @@ impl fmt::Display for Integer {
|
||||
let integer = self;
|
||||
let option = match_integer!(integer => integer.get_value());
|
||||
match option {
|
||||
Some(number) => write!(f, "{}{}", number, self.get_type()),
|
||||
Some(number) => write!(f, "{}", number),
|
||||
None => write!(f, "[input]{}", self.get_type()),
|
||||
}
|
||||
}
|
||||
|
@ -334,9 +334,9 @@ impl<F: Field + PrimeField, G: GroupType<F>> fmt::Display for ConstrainedValue<F
|
||||
write!(f, "function {{ {}() }}", function.identifier)
|
||||
}
|
||||
ConstrainedValue::Import(_, ref value) => write!(f, "{}", value),
|
||||
ConstrainedValue::Mutable(ref value) => write!(f, "mut {}", value),
|
||||
ConstrainedValue::Static(ref value) => write!(f, "static {}", value),
|
||||
ConstrainedValue::Unresolved(ref value) => write!(f, "unresolved {}", value),
|
||||
ConstrainedValue::Mutable(ref value) => write!(f, "{}", value),
|
||||
ConstrainedValue::Static(ref value) => write!(f, "{}", value),
|
||||
ConstrainedValue::Unresolved(ref value) => write!(f, "{}", value),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user