mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Fix formatting bug with multline function type alias
This commit is contained in:
parent
275b2afb55
commit
835c246c56
12 changed files with 129 additions and 40 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue