Skip to content

Commit 64c8d33

Browse files
committed
Fix new warnings on rust beta
1 parent 12a08fd commit 64c8d33

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ features = [
8484
"r2d2",
8585
]
8686
no-default-features = true
87-
rustc-args = ["--cfg", "doc_cfg"]
88-
rustdoc-args = ["--cfg", "doc_cfg"]
87+
rustc-args = ["--cfg", "docsrs"]
88+
rustdoc-args = ["--cfg", "docsrs"]
8989

9090
[workspace]
9191
members = [

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![cfg_attr(doc_cfg, feature(doc_cfg, doc_auto_cfg))]
1+
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
22
//! Diesel-async provides async variants of diesel related query functionality
33
//!
44
//! diesel-async is an extension to diesel itself. It is designed to be used together

0 commit comments

Comments
 (0)