Fix formatter inconsistency with record spread patterns.
This commit is contained in:
@@ -44,7 +44,7 @@ pub fn size(self: MerkleTree<a>) -> Int {
|
||||
when self is {
|
||||
Empty ->
|
||||
0
|
||||
Leaf{..} ->
|
||||
Leaf { .. } ->
|
||||
1
|
||||
Node { left, right, .. } ->
|
||||
size(left) + size(right)
|
||||
|
||||
Reference in New Issue
Block a user