kodecocodes / swift-algorithm-club

Algorithms and data structures in Swift, with explanations!
MIT License
28.76k stars 5.01k forks source link

Auronas: remove force casts on dequeuing #969

Closed Shahn-Auronas closed 3 years ago

Shahn-Auronas commented 3 years ago

Checklist

Description

hollance commented 3 years ago

It's not really necessary to do this, since the ! is guaranteed to work.