Skip to content

Commit

Permalink
Automatic deploy to GitHub Pages: 479e1fc
Browse files Browse the repository at this point in the history
  • Loading branch information
GHA CI committed Nov 24, 2024
1 parent 5528270 commit dc50b91
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions master/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2287,12 +2287,16 @@ <h3>Example</h3>
let x = (a, b, c, panic!());
// can simply be replaced by `panic!()`
</code></pre>
</div><div class="lint-additional-info-container"><div class="lint-additional-info-item"><span> Applicability: </span><span class="label label-default label-applicability">Unspecified</span><a href="https://doc.rust-lang.org/nightly/nightly-rustc/rustc_lint_defs/enum.Applicability.html#variants">(?)</a></div><div class="lint-additional-info-item"><span>Added in: </span><span class="label label-default label-version">pre 1.29.0</span></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+diverging_sub_expression">Related Issues</a></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/mixed_read_write_in_expression.rs#L53">View Source</a></div></div></div></article><article class="panel panel-default" id="doc_include_without_cfg"><input id="label-doc_include_without_cfg" type="checkbox"><label for="label-doc_include_without_cfg" onclick="highlightIfNeeded('doc_include_without_cfg')"><header class="panel-heading"><h2 class="panel-title"><div class="panel-title-name" id="lint-doc_include_without_cfg"><span>doc_include_without_cfg</span> <a href="#doc_include_without_cfg" onclick="lintAnchor(event)" class="anchor label label-default">&para;</a> <a href="" class="anchor label label-default" onclick="copyToClipboard(event)">&#128203;</a></div><div class="panel-title-addons"><span class="label label-lint-group label-default label-group-pedantic">pedantic</span> <span class="label label-lint-level label-lint-level-allow">allow</span> <span class="label label-doc-folding"></span></div></h2></header></label><div class="list-group lint-docs"><div class="list-group-item lint-doc-md"><h3>What it does</h3>
</div><div class="lint-additional-info-container"><div class="lint-additional-info-item"><span> Applicability: </span><span class="label label-default label-applicability">Unspecified</span><a href="https://doc.rust-lang.org/nightly/nightly-rustc/rustc_lint_defs/enum.Applicability.html#variants">(?)</a></div><div class="lint-additional-info-item"><span>Added in: </span><span class="label label-default label-version">pre 1.29.0</span></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+diverging_sub_expression">Related Issues</a></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/mixed_read_write_in_expression.rs#L53">View Source</a></div></div></div></article><article class="panel panel-default" id="doc_include_without_cfg"><input id="label-doc_include_without_cfg" type="checkbox"><label for="label-doc_include_without_cfg" onclick="highlightIfNeeded('doc_include_without_cfg')"><header class="panel-heading"><h2 class="panel-title"><div class="panel-title-name" id="lint-doc_include_without_cfg"><span>doc_include_without_cfg</span> <a href="#doc_include_without_cfg" onclick="lintAnchor(event)" class="anchor label label-default">&para;</a> <a href="" class="anchor label label-default" onclick="copyToClipboard(event)">&#128203;</a></div><div class="panel-title-addons"><span class="label label-lint-group label-default label-group-restriction">restriction</span> <span class="label label-lint-level label-lint-level-allow">allow</span> <span class="label label-doc-folding"></span></div></h2></header></label><div class="list-group lint-docs"><div class="list-group-item lint-doc-md"><h3>What it does</h3>
<p>Checks if included files in doc comments are included only for <code>cfg(doc)</code>.</p>
<h3>Why is this bad?</h3>
<h3>Why restrict this?</h3>
<p>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.</p>
<h3>Known problems</h3>
<p>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.</p>
<h3>Example</h3>
<pre><code class="language-rust">#![doc = include_str!("some_file.md")]
</code></pre>
Expand Down

0 comments on commit dc50b91

Please sign in to comment.