Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bobzhang committed May 22, 2024
1 parent 4b4401f commit df56903
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions map/map_test.mbt
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ pub fn keys_list[K, V](self : Map[K, V]) -> List[K] {
}

/// Return an immutable set of all keys of the map.
fn keys_set[K : Compare + Eq, V](
self : Map[K, V]
) -> @set.ImmutableSet[K] {
fn keys_set[K : Compare + Eq, V](self : Map[K, V]) -> @set.ImmutableSet[K] {
@set.from_list(self.keys_list())
}

Expand Down

0 comments on commit df56903

Please sign in to comment.