Fix formatting bug with multline function type alias

This commit is contained in:
Joshua Warner 2024-12-31 19:52:23 -05:00
parent 275b2afb55
commit 835c246c56
No known key found for this signature in database
GPG key ID: 89AD497003F93FDD
12 changed files with 129 additions and 40 deletions

View file

@ -915,7 +915,7 @@ impl<'a> HeaderType<'a> {
HeaderType::Platform { .. } | HeaderType::Package { .. } => &[],
}
}
pub fn to_string(&'a self) -> &str {
pub fn to_string(&self) -> &'static str {
match self {
HeaderType::App { .. } => "app",
HeaderType::Hosted { .. } => "hosted",