mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
clippy
This commit is contained in:
parent
24c9741281
commit
27f8465e9c
5 changed files with 55 additions and 132 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue