mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
clippy
This commit is contained in:
parent
e270f36422
commit
7a37a24e8c
1 changed files with 6 additions and 6 deletions
|
@ -2168,12 +2168,12 @@ fn build_dec_unary_op<'a, 'ctx>(
|
||||||
use roc_module::low_level::LowLevel::*;
|
use roc_module::low_level::LowLevel::*;
|
||||||
|
|
||||||
match op {
|
match op {
|
||||||
NumSin => dec_unary_op(env, &bitcode::DEC_SIN, arg),
|
NumSin => dec_unary_op(env, bitcode::DEC_SIN, arg),
|
||||||
NumCos => dec_unary_op(env, &bitcode::DEC_COS, arg),
|
NumCos => dec_unary_op(env, bitcode::DEC_COS, arg),
|
||||||
NumTan => dec_unary_op(env, &bitcode::DEC_TAN, arg),
|
NumTan => dec_unary_op(env, bitcode::DEC_TAN, arg),
|
||||||
NumAsin => dec_unary_op(env, &bitcode::DEC_ASIN, arg),
|
NumAsin => dec_unary_op(env, bitcode::DEC_ASIN, arg),
|
||||||
NumAcos => dec_unary_op(env, &bitcode::DEC_ACOS, arg),
|
NumAcos => dec_unary_op(env, bitcode::DEC_ACOS, arg),
|
||||||
NumAtan => dec_unary_op(env, &bitcode::DEC_ATAN, arg),
|
NumAtan => dec_unary_op(env, bitcode::DEC_ATAN, arg),
|
||||||
|
|
||||||
_ => {
|
_ => {
|
||||||
unreachable!("Unrecognized dec unary operation: {:?}", op);
|
unreachable!("Unrecognized dec unary operation: {:?}", op);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue