Skip to content

Commit

Permalink
moon fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
illusory0x0 authored and peter-jerry-ye committed Feb 7, 2025
1 parent 69fb068 commit f823620
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sorted_map/map.mbt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ pub fn from_array[K : Compare, V](entries : Array[(K, V)]) -> T[K, V] {
entries.each(fn(e) { map.add(e.0, e.1) })
map
}

///|
/// Inserts a key-value pair.
pub fn add[K : Compare, V](self : T[K, V], key : K, value : V) -> Unit {
Expand Down

0 comments on commit f823620

Please sign in to comment.