mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
reimplement Result
This commit is contained in:
parent
410426f059
commit
d1d7cfef44
7 changed files with 155 additions and 6 deletions
|
@ -88,7 +88,7 @@ impl<'a> From<ExposedName<'a>> for &'a str {
|
|||
}
|
||||
|
||||
impl<'a> ExposedName<'a> {
|
||||
pub fn new(name: &'a str) -> Self {
|
||||
pub const fn new(name: &'a str) -> Self {
|
||||
ExposedName(name)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue