mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Drop obsolete comment
This commit is contained in:
parent
179a3bdbb1
commit
89996c4b43
1 changed files with 0 additions and 2 deletions
|
@ -240,8 +240,6 @@ pub const RocStr = extern struct {
|
|||
}
|
||||
|
||||
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()];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue