Skip to content

Commit

Permalink
The Rust compiler will automatically set lifetimes following the thir…
Browse files Browse the repository at this point in the history
…d reference lifetime rule.

That's why we were getting warnings.
  • Loading branch information
ArtemIsmagilov committed Dec 25, 2024
1 parent 3ab1d4e commit 9e71856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub struct Pipeline<'a> {
}

impl<'a> Pipeline<'a> {
pub(crate) fn new(client: &'a Client) -> Pipeline {
pub(crate) fn new(client: &Client) -> Pipeline {
Pipeline {
client,
commands: Vec::new(),
Expand Down

0 comments on commit 9e71856

Please sign in to comment.