diff --git a/master/index.html b/master/index.html index c5da15139a6f..e419287abd00 100644 --- a/master/index.html +++ b/master/index.html @@ -2287,12 +2287,16 @@

Example

let x = (a, b, c, panic!()); // can simply be replaced by `panic!()` -
Applicability: Unspecified(?)
Added in: pre 1.29.0
Related Issues
View Source

What it does

+
Applicability: Unspecified(?)
Added in: pre 1.29.0

What it does

Checks if included files in doc comments are included only for cfg(doc).

-

Why is this bad?

+

Why restrict this?

These files are not useful for compilation but will still be included. Also, if any of these non-source code file is updated, it will trigger a recompilation.

+

Known problems

+

Excluding this will currently result in the file being left out if +the item’s docs are inlined from another crate. This may be fixed in a +future version of rustdoc.

Example

#![doc = include_str!("some_file.md")]