Skip to content

fix: decimal places #1318

fix: decimal places

fix: decimal places #1318

Triggered via push November 18, 2023 03:52
Status Failure
Total duration 2m 11s
Artifacts

rust.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors
lint: src/rgb/structs.rs#L121
error: redundant redefinition of a binding --> src/rgb/structs.rs:121:29 | 121 | pub fn with(value: u64, fract: u64, precision: u8) -> Self { | ^^^^^ 122 | let int = value; 123 | let fract = fract; | ^^^^^^^^^^^^^^^^^^ | = help: remove the redefinition of `fract` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals = note: `#[deny(clippy::redundant_locals)]` on by default
lint: src/rgb/structs.rs#L123
error: redundant redefinition of a binding --> src/rgb/structs.rs:121:29 | 121 | pub fn with(value: u64, fract: u64, precision: u8) -> Self { | ^^^^^ 122 | let int = value; 123 | let fract = fract; | ^^^^^^^^^^^^^^^^^^ | = help: remove the redefinition of `fract` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals = note: `#[deny(clippy::redundant_locals)]` on by default
lint
Process completed with exit code 1.
lint-wasm: src/rgb/structs.rs#L121
error: redundant redefinition of a binding --> src/rgb/structs.rs:121:29 | 121 | pub fn with(value: u64, fract: u64, precision: u8) -> Self { | ^^^^^ 122 | let int = value; 123 | let fract = fract; | ^^^^^^^^^^^^^^^^^^ | = help: remove the redefinition of `fract` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals = note: `#[deny(clippy::redundant_locals)]` on by default
lint-wasm: src/rgb/structs.rs#L123
error: redundant redefinition of a binding --> src/rgb/structs.rs:121:29 | 121 | pub fn with(value: u64, fract: u64, precision: u8) -> Self { | ^^^^^ 122 | let int = value; 123 | let fract = fract; | ^^^^^^^^^^^^^^^^^^ | = help: remove the redefinition of `fract` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals = note: `#[deny(clippy::redundant_locals)]` on by default
lint-wasm
Process completed with exit code 1.