style changes

This commit is contained in:
Anton-4 2024-03-16 14:41:08 +01:00
parent 00280f72a8
commit 3fadcf7bcb
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
10 changed files with 181 additions and 121 deletions

View file

@ -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 {