Skip to content

Fix readme links

Fix readme links #4

GitHub Actions / Clippy Output succeeded Mar 7, 2025 in 1s

Clippy Output

4 warnings

Details

Results

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

Versions

  • rustc 1.85.0 (4d91de4e4 2025-02-17)
  • cargo 1.85.0 (d73d2caf9 2024-12-31)
  • clippy 0.1.85 (4d91de4e48 2025-02-17)

Annotations

Check warning on line 24 in batsim/optimise/src/handler.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

elided lifetime has a name

warning: elided lifetime has a name
  --> batsim/optimise/src/handler.rs:24:17
   |
18 |     pub fn optimise<'a>(
   |                     -- lifetime `'a` declared here
...
24 |     ) -> Result<AgentSimulationRecord> {
   |                 ^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a`
   |
   = note: `#[warn(elided_named_lifetimes)]` on by default

Check warning on line 35 in batsim/simulate/src/days.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
  --> batsim/simulate/src/days.rs:35:6
   |
35 | impl<'a> DerefMut for Day<'a> {
   |      ^^                   ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
   = note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
   |
35 - impl<'a> DerefMut for Day<'a> {
35 + impl DerefMut for Day<'_> {
   |

Check warning on line 44 in batsim/configuration/src/charge_plan.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
  --> batsim/configuration/src/charge_plan.rs:44:6
   |
44 | impl<'a> DerefMut for ActivityChargingPlanner<'a> {
   |      ^^                                       ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
   = note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
   |
44 - impl<'a> DerefMut for ActivityChargingPlanner<'a> {
44 + impl DerefMut for ActivityChargingPlanner<'_> {
   |

Check warning on line 16 in batsim/tracer/src/handler.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
  --> batsim/tracer/src/handler.rs:16:6
   |
16 | impl<'a> Default for TraceHandler<'a> {
   |      ^^                           ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
   = note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
   |
16 - impl<'a> Default for TraceHandler<'a> {
16 + impl Default for TraceHandler<'_> {
   |