diff --git a/README.md b/README.md index 6ae301cb..434eb4ee 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,9 @@ Please refer to the [`cargo` documentation](https://doc.rust-lang.org/stable/car We build docs with the nightly toolchain, you may wish to use the following shell alias to check your documentation changes build correctly. -```alias build-docs='RUSTDOCFLAGS="--cfg docsrs" cargo +nightly rustdoc --features="$FEATURES" -- -D rustdoc::broken-intra-doc-links'``` +``` +alias build-docs='RUSTDOCFLAGS="--cfg docsrs" cargo +nightly rustdoc --features="$FEATURES" -- -D rustdoc::broken-intra-doc-links' +``` ## Pull Requests