mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Rename trimLeft to trimStart and trimRight to trimEnd
This commit is contained in:
parent
d10d71cdec
commit
97fa6758d0
16 changed files with 110 additions and 110 deletions
|
@ -617,7 +617,7 @@ pub(crate) fn run_low_level<'a, 'ctx>(
|
|||
|
||||
call_str_bitcode_fn(env, &[string], &[], BitcodeReturns::Str, bitcode::STR_TRIM)
|
||||
}
|
||||
StrTrimLeft => {
|
||||
StrTrimStart => {
|
||||
// Str.trim : Str -> Str
|
||||
arguments!(string);
|
||||
|
||||
|
@ -626,10 +626,10 @@ pub(crate) fn run_low_level<'a, 'ctx>(
|
|||
&[string],
|
||||
&[],
|
||||
BitcodeReturns::Str,
|
||||
bitcode::STR_TRIM_LEFT,
|
||||
bitcode::STR_TRIM_START,
|
||||
)
|
||||
}
|
||||
StrTrimRight => {
|
||||
StrTrimEnd => {
|
||||
// Str.trim : Str -> Str
|
||||
arguments!(string);
|
||||
|
||||
|
@ -638,7 +638,7 @@ pub(crate) fn run_low_level<'a, 'ctx>(
|
|||
&[string],
|
||||
&[],
|
||||
BitcodeReturns::Str,
|
||||
bitcode::STR_TRIM_RIGHT,
|
||||
bitcode::STR_TRIM_END,
|
||||
)
|
||||
}
|
||||
StrWithCapacity => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue