Skip to content

Conversation

caspermeijn
Copy link
Contributor

This solves clippy warnings like this:

error: this expression creates a reference which is immediately dereferenced by the compiler
   --> src/common.rs:447:34
    |
447 |             unquote_block_string(&block),
    |                                  ^^^^^^ help: change this to: `block`
    |
    = 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)]`

This solves clippy warnings like this:
```
error: this expression creates a reference which is immediately dereferenced by the compiler
   --> src/common.rs:447:34
    |
447 |             unquote_block_string(&block),
    |                                  ^^^^^^ help: change this to: `block`
    |
    = 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)]`
```
@LegNeato LegNeato merged commit 01bf047 into graphql-rust:master Jan 16, 2025
3 checks passed
@caspermeijn caspermeijn deleted the needless_borrow branch February 3, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants