dtolnay / itoa

Fast function for printing integer primitives to a decimal string
Apache License 2.0
308 stars 37 forks source link

More granular `unsafe` blocks. #42

Closed anforowicz closed 8 months ago

anforowicz commented 8 months ago

There should be no functional changes from this commit - the same code is used before and after this commit, except that unsafe { ... } blocks wrap smaller pieces of code afterwards. Having more granular unsafe blocks hopefully makes unsafe audits a tiny bit easier.