mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Remove unused code
This commit is contained in:
parent
54e78e8fd4
commit
90f517712a
33 changed files with 24 additions and 1300 deletions
|
@ -13,11 +13,6 @@ impl IntrinsicName {
|
|||
}
|
||||
}
|
||||
|
||||
#[repr(u8)]
|
||||
pub enum DecWidth {
|
||||
Dec,
|
||||
}
|
||||
|
||||
#[repr(u8)]
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug, PartialOrd, Ord)]
|
||||
pub enum FloatWidth {
|
||||
|
@ -171,14 +166,6 @@ impl IntWidth {
|
|||
}
|
||||
}
|
||||
|
||||
impl Index<DecWidth> for IntrinsicName {
|
||||
type Output = str;
|
||||
|
||||
fn index(&self, _: DecWidth) -> &Self::Output {
|
||||
self.options[0]
|
||||
}
|
||||
}
|
||||
|
||||
impl Index<FloatWidth> for IntrinsicName {
|
||||
type Output = str;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue