mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
make fewer things pub
This commit is contained in:
parent
1126921a9e
commit
8bca6ebdfd
1 changed files with 4 additions and 3 deletions
|
@ -59,7 +59,7 @@ enum DecisionTree<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, PartialEq)]
|
#[derive(Clone, Debug, PartialEq)]
|
||||||
pub enum GuardedTest<'a> {
|
enum GuardedTest<'a> {
|
||||||
TestGuarded {
|
TestGuarded {
|
||||||
test: Test<'a>,
|
test: Test<'a>,
|
||||||
|
|
||||||
|
@ -79,7 +79,8 @@ pub enum GuardedTest<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, PartialEq)]
|
#[derive(Clone, Debug, PartialEq)]
|
||||||
pub enum Test<'a> {
|
#[allow(clippy::enum_variant_names)]
|
||||||
|
enum Test<'a> {
|
||||||
IsCtor {
|
IsCtor {
|
||||||
tag_id: u8,
|
tag_id: u8,
|
||||||
tag_name: TagName,
|
tag_name: TagName,
|
||||||
|
@ -1049,7 +1050,7 @@ pub fn optimize_when<'a>(
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||||
pub struct PathInstruction {
|
struct PathInstruction {
|
||||||
index: u64,
|
index: u64,
|
||||||
tag_id: u8,
|
tag_id: u8,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue