Skip to content

BigFloat natural logarithm #121

BigFloat natural logarithm

BigFloat natural logarithm #121

GitHub Actions / clippy failed Jun 12, 2024 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (2)

framework/base/src/types/managed/basic/big_float.rs|172 col 48| warning: this expression creates a reference which is immediately dereferenced by the compiler
--> framework/base/src/types/managed/basic/big_float.rs:172:48
|
172 | ManagedDecimal::<M, T>::from_big_float(&self, decimals)
| ^^^^^ help: change this to: self
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: #[warn(clippy::needless_borrow)] on by default
framework/base/src/types/managed/basic/big_float.rs|172 col 48| warning: this expression creates a reference which is immediately dereferenced by the compiler
--> framework/base/src/types/managed/basic/big_float.rs:172:48
|
172 | ManagedDecimal::<M, T>::from_big_float(&self, decimals)
| ^^^^^ help: change this to: self
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: #[warn(clippy::needless_borrow)] on by default

Filtered Findings (0)

Annotations

Check warning on line 172 in framework/base/src/types/managed/basic/big_float.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] framework/base/src/types/managed/basic/big_float.rs#L172

warning: this expression creates a reference which is immediately dereferenced by the compiler
   --> framework/base/src/types/managed/basic/big_float.rs:172:48
    |
172 |         ManagedDecimal::<M, T>::from_big_float(&self, decimals)
    |                                                ^^^^^ help: change this to: `self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    = note: `#[warn(clippy::needless_borrow)]` on by default
Raw output
framework/base/src/types/managed/basic/big_float.rs:172:48:w:warning: this expression creates a reference which is immediately dereferenced by the compiler
   --> framework/base/src/types/managed/basic/big_float.rs:172:48
    |
172 |         ManagedDecimal::<M, T>::from_big_float(&self, decimals)
    |                                                ^^^^^ help: change this to: `self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    = note: `#[warn(clippy::needless_borrow)]` on by default


__END__

Check warning on line 172 in framework/base/src/types/managed/basic/big_float.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] framework/base/src/types/managed/basic/big_float.rs#L172

warning: this expression creates a reference which is immediately dereferenced by the compiler
   --> framework/base/src/types/managed/basic/big_float.rs:172:48
    |
172 |         ManagedDecimal::<M, T>::from_big_float(&self, decimals)
    |                                                ^^^^^ help: change this to: `self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    = note: `#[warn(clippy::needless_borrow)]` on by default
Raw output
framework/base/src/types/managed/basic/big_float.rs:172:48:w:warning: this expression creates a reference which is immediately dereferenced by the compiler
   --> framework/base/src/types/managed/basic/big_float.rs:172:48
    |
172 |         ManagedDecimal::<M, T>::from_big_float(&self, decimals)
    |                                                ^^^^^ help: change this to: `self`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    = note: `#[warn(clippy::needless_borrow)]` on by default


__END__