Skip to content

fix: Change return lifetime to fix error #305

fix: Change return lifetime to fix error

fix: Change return lifetime to fix error #305

GitHub Actions / clippy succeeded Apr 27, 2024 in 1s

clippy

3 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 3
Note 0
Help 0

Versions

  • rustc 1.79.0-nightly (4d570eea0 2024-04-26)
  • cargo 1.79.0-nightly (c93926759 2024-04-23)
  • clippy 0.1.79 (4d570ee 2024-04-26)

Annotations

Check warning on line 47 in src/lender.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

item in documentation is missing backticks

warning: item in documentation is missing backticks
  --> src/lender.rs:47:12
   |
47 | /// If the RwLock used is poisoned, but it only happens if a panic happens
   |            ^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
   |
47 | /// If the `RwLock` used is poisoned, but it only happens if a panic happens
   |            ~~~~~~~~

Check warning on line 35 in src/lender.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

item in documentation is missing backticks

warning: item in documentation is missing backticks
  --> src/lender.rs:35:12
   |
35 | /// If the RwLock used is poisoned, but it only happens if a panic happens
   |            ^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
   |
35 | /// If the `RwLock` used is poisoned, but it only happens if a panic happens
   |            ~~~~~~~~

Check warning on line 20 in src/lender.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

item in documentation is missing backticks

warning: item in documentation is missing backticks
  --> src/lender.rs:20:12
   |
20 | /// If the RwLock used is poisoned, but it only happens if a panic happens
   |            ^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
note: the lint level is defined here
  --> src/lib.rs:4:9
   |
4  | #![warn(clippy::pedantic)]
   |         ^^^^^^^^^^^^^^^^
   = note: `#[warn(clippy::doc_markdown)]` implied by `#[warn(clippy::pedantic)]`
help: try
   |
20 | /// If the `RwLock` used is poisoned, but it only happens if a panic happens
   |            ~~~~~~~~