test stuff #171
Annotations
3 errors
this expression creates a reference which is immediately dereferenced by the compiler:
src/wasm.rs#L23
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/wasm.rs:23:21
|
23 | Ok(to_uppercase(&input, locale))
| ^^^^^^ help: change this to: `input`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
src/wasm.rs#L18
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/wasm.rs:18:21
|
18 | Ok(to_lowercase(&input, locale))
| ^^^^^^ help: change this to: `input`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
src/wasm.rs#L13
error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/wasm.rs:13:21
|
13 | Ok(to_titlecase(&input, locale, style))
| ^^^^^^ help: change this to: `input`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
|