diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..ddbe09f --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[build] +rustdocflags = ["-D", "warnings"] diff --git a/.github/workflows/ci_linux.yaml b/.github/workflows/ci_linux.yaml index 05813b3..adebf68 100644 --- a/.github/workflows/ci_linux.yaml +++ b/.github/workflows/ci_linux.yaml @@ -38,3 +38,6 @@ jobs: - name: Test single_threaded_async run: cargo test --features single_threaded_async + - name: Build docs + run: cargo doc + diff --git a/src/chain/split.rs b/src/chain/split.rs index 3593f09..beb1c83 100644 --- a/src/chain/split.rs +++ b/src/chain/split.rs @@ -259,7 +259,7 @@ impl<'w, 's, 'a, 'b, T: 'static + Splittable> Iterator for SplitBuilder<'w, 's, /// This tracks the connections that have been made to a split. This can be /// retrieved from [`SplitBuilder`] by calling [`SplitBuilder::outputs`]. -/// You can then continue building connections by calling [`SplitBuilder::build`]. +/// You can then continue building connections by calling [`SplitOutputs::build`]. #[must_use] pub struct SplitOutputs { scope: Entity,