mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
s/CodePoint/CodePt/g
This commit is contained in:
parent
69b1497907
commit
267836226c
25 changed files with 69 additions and 69 deletions
|
@ -4412,8 +4412,8 @@ fn run_low_level<'a, 'ctx, 'env>(
|
|||
|
||||
str_starts_with(env, scope, args[0], args[1])
|
||||
}
|
||||
StrStartsWithCodePoint => {
|
||||
// Str.startsWithCodePoint : Str, U32 -> Bool
|
||||
StrStartsWithCodePt => {
|
||||
// Str.startsWithCodePt : Str, U32 -> Bool
|
||||
debug_assert_eq!(args.len(), 2);
|
||||
|
||||
str_starts_with_code_point(env, scope, args[0], args[1])
|
||||
|
|
|
@ -175,7 +175,7 @@ pub fn str_starts_with<'a, 'ctx, 'env>(
|
|||
)
|
||||
}
|
||||
|
||||
/// Str.startsWithCodePoint : Str, U32 -> Bool
|
||||
/// Str.startsWithCodePt : Str, U32 -> Bool
|
||||
pub fn str_starts_with_code_point<'a, 'ctx, 'env>(
|
||||
env: &Env<'a, 'ctx, 'env>,
|
||||
scope: &Scope<'a, 'ctx>,
|
||||
|
@ -188,7 +188,7 @@ pub fn str_starts_with_code_point<'a, 'ctx, 'env>(
|
|||
call_bitcode_fn(
|
||||
env,
|
||||
&[str_i128.into(), prefix],
|
||||
bitcode::STR_STARTS_WITH_CODE_POINT,
|
||||
bitcode::STR_STARTS_WITH_CODE_PT,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue