From cf02c59a712905ae73e658091be422d3aeb7fff3 Mon Sep 17 00:00:00 2001 From: arijit79 <65700195+arijit79@users.noreply.github.com> Date: Thu, 17 Sep 2020 23:34:37 +0530 Subject: [PATCH 1/2] Remove weird looking dashes --- src/doc/rustdoc/src/unstable-features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/rustdoc/src/unstable-features.md b/src/doc/rustdoc/src/unstable-features.md index 2f49fc8a41552..5e36f58ce1a11 100644 --- a/src/doc/rustdoc/src/unstable-features.md +++ b/src/doc/rustdoc/src/unstable-features.md @@ -100,7 +100,7 @@ Note: Because of how `macro_rules` macros are scoped in Rust, the intra-doc link These features operate by extending the `#[doc]` attribute, and thus can be caught by the compiler and enabled with a `#![feature(...)]` attribute in your crate. -### Documenting platform-/feature-specific information +### Documenting platform/feature specific information Because of the way Rustdoc documents a crate, the documentation it creates is specific to the target rustc compiles for. Anything that's specific to any other target is dropped via `#[cfg]` attribute From 151c79a2fabb6264b4cc7c0c264692a1f85db115 Mon Sep 17 00:00:00 2001 From: arijit79 <65700195+arijit79@users.noreply.github.com> Date: Fri, 18 Sep 2020 07:53:06 +0530 Subject: [PATCH 2/2] Make a longer heading --- src/doc/rustdoc/src/unstable-features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/rustdoc/src/unstable-features.md b/src/doc/rustdoc/src/unstable-features.md index 5e36f58ce1a11..c316688974c7e 100644 --- a/src/doc/rustdoc/src/unstable-features.md +++ b/src/doc/rustdoc/src/unstable-features.md @@ -100,7 +100,7 @@ Note: Because of how `macro_rules` macros are scoped in Rust, the intra-doc link These features operate by extending the `#[doc]` attribute, and thus can be caught by the compiler and enabled with a `#![feature(...)]` attribute in your crate. -### Documenting platform/feature specific information +### Documenting platform-specific or feature-specific information Because of the way Rustdoc documents a crate, the documentation it creates is specific to the target rustc compiles for. Anything that's specific to any other target is dropped via `#[cfg]` attribute