fix: decimal places #1318
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.
|