mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
clippy things
This commit is contained in:
parent
5d3645350d
commit
1c8383b3bb
2 changed files with 3 additions and 3 deletions
|
@ -1807,7 +1807,7 @@ fn run_low_level<'a, 'ctx, 'env>(
|
|||
debug_assert_eq!(args.len(), 1);
|
||||
|
||||
let wrapper_ptr = ptr_from_symbol(scope, args[0]);
|
||||
let len = str_len(env, parent, wrapper_ptr.clone());
|
||||
let len = str_len(env, parent, *wrapper_ptr);
|
||||
let is_zero = env.builder.build_int_compare(
|
||||
IntPredicate::EQ,
|
||||
len,
|
||||
|
|
|
@ -32,13 +32,13 @@ pub fn str_concat<'a, 'ctx, 'env>(
|
|||
load_str(
|
||||
env,
|
||||
parent,
|
||||
second_str_ptr.clone(),
|
||||
*second_str_ptr,
|
||||
str_wrapper_type,
|
||||
|second_str_ptr, second_str_len, second_str_smallness| {
|
||||
load_str(
|
||||
env,
|
||||
parent,
|
||||
first_str_ptr.clone(),
|
||||
*first_str_ptr,
|
||||
str_wrapper_type,
|
||||
|first_str_ptr, first_str_len, first_str_smallness| {
|
||||
// first_str_len > 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue