From 1a0de67e3bbdba795a2ebfbf0c59c3e85b8754fe Mon Sep 17 00:00:00 2001 From: Teo Koon Peng Date: Fri, 13 Dec 2024 15:25:02 +0800 Subject: [PATCH] fix broken doc link (#41) Signed-off-by: Teo Koon Peng --- .cargo/config.toml | 2 ++ .github/workflows/ci_linux.yaml | 3 +++ src/chain/split.rs | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .cargo/config.toml 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,