Skip to content

Commit 3bf49a3

Browse files
committed
allow needless lifetime
1 parent 915532d commit 3bf49a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

program/tests/helpers/context.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ pub struct StakeAccountBuilder<'a> {
2727
}
2828

2929
#[allow(dead_code)]
30+
#[allow(clippy::needless_lifetimes)] // we'll need the lifetime later
3031
impl<'a> StakeAccountBuilder<'a> {
3132
/// Set the staked amount (lamports delegated to validator)
3233
pub fn staked_amount(mut self, amount: u64) -> Self {

0 commit comments

Comments
 (0)