mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Fix doc generation
This `doc_auto_cfg` was merged into `doc_cfg` a while back.
This commit is contained in:
@@ -72,7 +72,7 @@ simd = []
|
|||||||
# compatibility.
|
# compatibility.
|
||||||
zstd = ["dep:zstd"]
|
zstd = ["dep:zstd"]
|
||||||
|
|
||||||
# Only relevant when generating docs, adds the `doc_auto_cfg` nightly feature
|
# Only relevant when generating docs, adds the `doc_cfg` nightly feature
|
||||||
docs = []
|
docs = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
@@ -82,7 +82,7 @@
|
|||||||
//! There's a whole lot more to discuss, but once you understand the above you should be able to
|
//! There's a whole lot more to discuss, but once you understand the above you should be able to
|
||||||
//! figure out the rest by reading through the examples and the API documentation. Good luck!
|
//! figure out the rest by reading through the examples and the API documentation. Good luck!
|
||||||
|
|
||||||
#![cfg_attr(feature = "docs", feature(doc_auto_cfg))]
|
#![cfg_attr(feature = "docs", feature(doc_cfg))]
|
||||||
#![cfg_attr(feature = "simd", feature(portable_simd))]
|
#![cfg_attr(feature = "simd", feature(portable_simd))]
|
||||||
// Around Rust 1.64 Clippy started throwing this for all instances of `dyn Fn(...) -> ... + Send +
|
// Around Rust 1.64 Clippy started throwing this for all instances of `dyn Fn(...) -> ... + Send +
|
||||||
// Sync`. Creating type aliases for all of these callbacks probably won't make things easier to read.
|
// Sync`. Creating type aliases for all of these callbacks probably won't make things easier to read.
|
||||||
|
|||||||
Reference in New Issue
Block a user