Skip to content

Commit 2f67df6

Browse files
committed
Fix some links & link tests
Not all, but these seem to be a bug in the generator?
1 parent bbcecf8 commit 2f67df6

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,16 @@ jobs:
8181

8282
- name: Check links
8383
run: |
84+
# Prepare "full" build including dependencies for deadlinks
85+
cargo doc --all --all-features
8486
for package in $(cargo metadata --no-deps --format-version=1 | jq -r '.packages[] | .name'); do
85-
cargo rustdoc -p "$package" --all-features -- -D warnings
8687
dname=$(echo "$package" | tr '-' '_')
8788
cargo deadlinks --dir "target/doc/$dname" --check-http --ignore-fragments
8889
done
90+
# Try building each separately with enabling warnings as errors
91+
for package in $(cargo metadata --no-deps --format-version=1 | jq -r '.packages[] | .name'); do
92+
cargo rustdoc -p "$package" --all-features -- -D warnings
93+
done
8994

9095
ancient-registry:
9196
name: Check compilation of signal-hook-registry on old compilers

src/iterator/backend.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ impl<E: Exfiltrator> AddSignal for PendingSignals<E> {
148148
}
149149
}
150150

151-
/// A struct to control an instance of an associated type
152-
/// (like for example [`Signals`][super::Signals]).
151+
/// A struct to control an instance of signal delivery.
153152
///
154153
/// It allows to register more signal handlers and to shutdown the signal
155154
/// delivery. You can [`clone`][Handle::clone] this type which isn't a

0 commit comments

Comments
 (0)