Skip to content

Commit 7bfab2b

Browse files
committed
Remove unnecessary cfg_attrs
Signed-off-by: Nick Cameron <nrc@ncameron.org>
1 parent e468181 commit 7bfab2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/raw.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl Client {
3737
/// let client = connect.await.unwrap();
3838
/// # });
3939
/// ```
40-
#[cfg_attr(feature = "cargo-clippy", allow(clippy::new_ret_no_self))]
40+
#[allow(clippy::new_ret_no_self)]
4141
pub fn new(config: Config) -> Connect {
4242
Connect::new(config)
4343
}

src/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ impl Client {
2929
/// let client = connect.await.unwrap();
3030
/// # });
3131
/// ```
32-
#[cfg_attr(feature = "cargo-clippy", allow(clippy::new_ret_no_self))]
32+
#[allow(clippy::new_ret_no_self)]
3333
pub fn new(config: Config) -> Connect {
3434
Connect::new(config)
3535
}

0 commit comments

Comments
 (0)