Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: add Netlify doc previews #4699

Merged
merged 15 commits into from
May 19, 2022
17 changes: 17 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[build]
command = """
rustup install nightly --profile minimal && cargo doc --no-deps
davidbarsky marked this conversation as resolved.
Show resolved Hide resolved
"""
publish = "target/doc"

[build.environment]
RUSTDOCFLAGS="""
-D warnings \
davidbarsky marked this conversation as resolved.
Show resolved Hide resolved
--cfg docsrs \
davidbarsky marked this conversation as resolved.
Show resolved Hide resolved
--cfg tokio_unstable \
"""
davidbarsky marked this conversation as resolved.
Show resolved Hide resolved
RUSTFLAGS="--cfg tokio_unstable"
davidbarsky marked this conversation as resolved.
Show resolved Hide resolved

[[redirects]]
from = "/"
to = "/tokio"
2 changes: 1 addition & 1 deletion tokio/src/macros/join.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/// for **all** branches complete regardless if any complete with `Err`. Use
/// [`try_join!`] to return early when `Err` is encountered.
///
/// [`try_join!`]: macro@try_join
/// [`try_join!`]: crate::try_join
///
/// # Notes
///
Expand Down