Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Warning: unnecessary lifetime parameter 'a #14351

Description

@abhi3700

pub struct PiecewiseLinear<'a> {

gives this error:

❯ cargo build -r
warning: unnecessary lifetime parameter `'a`
  --> primitives/runtime/src/curve.rs:29:28
   |
29 | pub struct PiecewiseLinear<'a> {
   |                            ^^
   |
   = help: you can use the `'static` lifetime directly, in place of `'a`

warning: `sp-runtime` (lib) generated 1 warning
### Tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    I7-refactorCode needs refactoring.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions