This commit is contained in:
Folkert 2021-05-15 23:59:54 +02:00
parent 24c9741281
commit 27f8465e9c
5 changed files with 55 additions and 132 deletions

View file

@ -157,9 +157,9 @@ impl fmt::Display for Symbol {
}
}
impl Into<u64> for Symbol {
fn into(self) -> u64 {
self.0
impl From<Symbol> for u64 {
fn from(symbol: Symbol) -> Self {
symbol.0
}
}