mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
style changes
This commit is contained in:
parent
00280f72a8
commit
3fadcf7bcb
10 changed files with 181 additions and 121 deletions
|
@ -78,6 +78,7 @@ pub enum HeaderType<'a> {
|
|||
exposes: &'a [Loc<ExposedName<'a>>],
|
||||
},
|
||||
}
|
||||
|
||||
impl<'a> HeaderType<'a> {
|
||||
pub fn get_name(self) -> Option<&'a str> {
|
||||
match self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue