mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
fix typo
This commit is contained in:
parent
dc44eaac97
commit
7fc79c3d40
6 changed files with 20 additions and 23 deletions
|
@ -60,8 +60,6 @@ impl FloatWidth {
|
|||
|
||||
pub const fn try_from_symbol(symbol: Symbol) -> Option<Self> {
|
||||
match symbol {
|
||||
Symbol::NUM_FLOAT => Some(FloatWidth::F64),
|
||||
|
||||
Symbol::NUM_F64 | Symbol::NUM_BINARY64 | Symbol::NUM_AT_BINARY64 => {
|
||||
Some(FloatWidth::F64)
|
||||
}
|
||||
|
@ -124,7 +122,6 @@ impl IntWidth {
|
|||
|
||||
pub const fn try_from_symbol(symbol: Symbol) -> Option<Self> {
|
||||
match symbol {
|
||||
Symbol::NUM_INT => Some(IntWidth::I64),
|
||||
Symbol::NUM_I128 | Symbol::NUM_SIGNED128 | Symbol::NUM_AT_SIGNED128 => {
|
||||
Some(IntWidth::I128)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue