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:
Jean Marchand (Exotic Markets) 2022-11-24 15:14:19 +01:00 committed by GitHub
parent 52b32d2459
commit ca52121a6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 5 deletions

View File

@ -0,0 +1 @@
large-error-threshold = 1_000_000

View File

@ -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",

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}