Skip to content

Commit

Permalink
fix incorrect alert
Browse files Browse the repository at this point in the history
  • Loading branch information
yj-qin authored and bobzhang committed Oct 12, 2024
1 parent 065c279 commit 7d69952
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion builtin/linked_hash_set.mbt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ pub fn Set::from_array[K : Hash + Eq](arr : Array[K]) -> Set[K] {
}

/// Insert a key into the hash set.
/// @alert unsafe "Panic if the hash set is full."
pub fn insert[K : Hash + Eq](self : Set[K], key : K) -> Unit {
if self.size >= self.growAt {
self.grow()
Expand Down

0 comments on commit 7d69952

Please sign in to comment.