We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 915532d commit 3bf49a3Copy full SHA for 3bf49a3
program/tests/helpers/context.rs
@@ -27,6 +27,7 @@ pub struct StakeAccountBuilder<'a> {
27
}
28
29
#[allow(dead_code)]
30
+#[allow(clippy::needless_lifetimes)] // we'll need the lifetime later
31
impl<'a> StakeAccountBuilder<'a> {
32
/// Set the staked amount (lamports delegated to validator)
33
pub fn staked_amount(mut self, amount: u64) -> Self {
0 commit comments