File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ pub struct SSHCredentialHelper {
3636}
3737
3838impl SSHCredentialHelper {
39- #[ allow( clippy:: new_ret_no_self) ]
4039 pub fn new ( remote_url : & GitUrl , operation : Operation ) -> Arc < Self > {
4140 Arc :: new ( Self {
4241 remote_url : remote_url. clone ( ) ,
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ use super::CredentialHelper;
99pub struct NoopCredentialHelper { }
1010
1111impl NoopCredentialHelper {
12- #[ allow( clippy:: new_ret_no_self) ]
1312 pub fn new ( ) -> Arc < Self > {
1413 Arc :: new ( Self { } )
1514 }
@@ -33,7 +32,6 @@ pub struct BearerCredentialHelper {
3332}
3433
3534impl BearerCredentialHelper {
36- #[ allow( clippy:: new_ret_no_self) ]
3735 pub fn new ( hf_token : String , whoami : & ' static str ) -> Arc < Self > {
3836 Arc :: new ( Self {
3937 hf_token,
You can’t perform that action at this time.
0 commit comments