clippy test if it is just a cache issue (#2280)
* test if it is just a cache issue * fix lint
This commit is contained in:
parent
52b32d2459
commit
ca52121a6b
|
@ -0,0 +1 @@
|
|||
large-error-threshold = 1_000_000
|
|
@ -88,7 +88,7 @@ pub fn install_version(version: &Version, force: bool) -> Result<()> {
|
|||
}
|
||||
|
||||
let exit = std::process::Command::new("cargo")
|
||||
.args(&[
|
||||
.args([
|
||||
"install",
|
||||
"--git",
|
||||
"https://github.com/coral-xyz/anchor",
|
||||
|
|
|
@ -397,7 +397,7 @@ impl<'a, T: AccountSerialize + AccountDeserialize + Owner + Clone> Deref for Acc
|
|||
type Target = T;
|
||||
|
||||
fn deref(&self) -> &Self::Target {
|
||||
&(*self).account
|
||||
&(self).account
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -124,7 +124,7 @@ impl<'info, T: AccountSerialize + AccountDeserialize + Clone> Deref for CpiState
|
|||
type Target = T;
|
||||
|
||||
fn deref(&self) -> &Self::Target {
|
||||
&(*self.inner).account
|
||||
&(self.inner).account
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -157,7 +157,7 @@ impl<'a, T: AccountSerialize + AccountDeserialize + Clone> Deref for ProgramAcco
|
|||
type Target = T;
|
||||
|
||||
fn deref(&self) -> &Self::Target {
|
||||
&(*self.inner).account
|
||||
&(self.inner).account
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@ impl<'a, T: AccountSerialize + AccountDeserialize + Clone> Deref for ProgramStat
|
|||
type Target = T;
|
||||
|
||||
fn deref(&self) -> &Self::Target {
|
||||
&(*self.inner).account
|
||||
&(self.inner).account
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue