3 ms·
> Strange that basic std vec functions like insert and remove call `unsafe` The standard library has more unsafe than most programs, because "data structures t
by steveklabnik 3y ago
> Strange that basic std vec functions like insert and remove call `unsafe`
The standard library has more unsafe than most programs, because "data structures that need a lot of unsafe" has historically been an argument for being put in the standard library, because that way they'll be reviewed very carefully by experts.