Skip to content

Commit 109ee7b

Browse files
Deny rustdoc warnings in pre-push script, and fix a doc comment
1 parent 8964e2b commit 109ee7b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.githooks/pre-push

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ cargo test --no-run
1717
restore_cargo_lock
1818
cargo fmt --check
1919
cargo clippy --tests -- --D warnings
20+
RUSTDOCFLAGS="-D warnings" cargo doc --document-private-items --no-deps
2021
cargo test

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub fn initiate_protocol(stream: TokenStream) -> TokenStream {
6969
).into()
7070
}
7171

72-
/// Wrap the function to be used with the [protocol!].
72+
/// Wrap the function to be used with the [protocol](https://typst.app/docs/reference/foundations/plugin/).
7373
///
7474
/// # Arguments
7575
///

0 commit comments

Comments
 (0)