Re-format and re-run all acceptance tests.
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
pub fn map(opt: Option<a>, f: fn(a) -> b) -> Option<b> {
|
||||
when opt is {
|
||||
None ->
|
||||
None
|
||||
Some(a) ->
|
||||
Some(f(a))
|
||||
None -> None
|
||||
Some(a) -> Some(f(a))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user