mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Make public
This commit is contained in:
parent
879719b166
commit
a21e016032
1 changed files with 2 additions and 2 deletions
|
@ -154,7 +154,7 @@ impl NumericRange {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
|
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
|
||||||
enum IntSignedness {
|
pub enum IntSignedness {
|
||||||
Unsigned,
|
Unsigned,
|
||||||
Signed,
|
Signed,
|
||||||
}
|
}
|
||||||
|
@ -184,7 +184,7 @@ pub enum IntLitWidth {
|
||||||
|
|
||||||
impl IntLitWidth {
|
impl IntLitWidth {
|
||||||
/// Returns the `IntSignedness` and bit width of a variant.
|
/// Returns the `IntSignedness` and bit width of a variant.
|
||||||
fn signedness_and_width(&self) -> (IntSignedness, u32) {
|
pub fn signedness_and_width(&self) -> (IntSignedness, u32) {
|
||||||
use IntLitWidth::*;
|
use IntLitWidth::*;
|
||||||
use IntSignedness::*;
|
use IntSignedness::*;
|
||||||
match self {
|
match self {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue