mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 15:03:46 +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)]
|
||||
enum IntSignedness {
|
||||
pub enum IntSignedness {
|
||||
Unsigned,
|
||||
Signed,
|
||||
}
|
||||
|
@ -184,7 +184,7 @@ pub enum IntLitWidth {
|
|||
|
||||
impl IntLitWidth {
|
||||
/// 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 IntSignedness::*;
|
||||
match self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue