Drop obsolete comment

This commit is contained in:
Richard Feldman 2021-06-21 08:36:33 -04:00
parent 179a3bdbb1
commit 89996c4b43

View file

@ -240,8 +240,6 @@ pub const RocStr = extern struct {
} }
pub fn asSlice(self: RocStr) []u8 { pub fn asSlice(self: RocStr) []u8 {
// Since this conditional would be prone to branch misprediction,
// make sure it will compile to a cmov.
return self.asU8ptr()[0..self.len()]; return self.asU8ptr()[0..self.len()];
} }