mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Return a bool instead of a u1
This commit is contained in:
parent
ae8e56cce9
commit
319ded66ca
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ pub fn startsWith(
|
|||
bytes_len: usize,
|
||||
prefix_ptr: [*]u8,
|
||||
prefix_len: usize
|
||||
) callconv(.C) u1 {
|
||||
) callconv(.C) bool {
|
||||
if(prefix_len > bytes_len) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue