Skip to content

Commit

Permalink
Automatic deploy to GitHub Pages: 5dc5842
Browse files Browse the repository at this point in the history
  • Loading branch information
GHA CI committed Nov 28, 2024
1 parent a657362 commit 4c40f77
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions master/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6011,7 +6011,7 @@ <h3>Example</h3>
let y: i32 = 4;
let div = x.div_ceil(y);
</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">MachineApplicable</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">1.81.0</span></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+manual_div_ceil">Related Issues</a></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/manual_div_ceil.rs#L17">View Source</a></div></div></div></article><article class="panel panel-default" id="manual_filter"><input id="label-manual_filter" type="checkbox"><label for="label-manual_filter" onclick="highlightIfNeeded('manual_filter')"><header class="panel-heading"><h2 class="panel-title"><div class="panel-title-name" id="lint-manual_filter"><span>manual_filter</span> <a href="#manual_filter" 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-complexity">complexity</span> <span class="label label-lint-level label-lint-level-warn">warn</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">MachineApplicable</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">1.83.0</span></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+manual_div_ceil">Related Issues</a></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/manual_div_ceil.rs#L17">View Source</a></div></div></div></article><article class="panel panel-default" id="manual_filter"><input id="label-manual_filter" type="checkbox"><label for="label-manual_filter" onclick="highlightIfNeeded('manual_filter')"><header class="panel-heading"><h2 class="panel-title"><div class="panel-title-name" id="lint-manual_filter"><span>manual_filter</span> <a href="#manual_filter" 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-complexity">complexity</span> <span class="label label-lint-level label-lint-level-warn">warn</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 for usage of <code>match</code> which could be implemented using <code>filter</code></p>
<h3>Why is this bad?</h3>
<p>Using the <code>filter</code> method is clearer and more concise.</p>
Expand Down Expand Up @@ -6253,7 +6253,7 @@ <h3>Example</h3>
<pre><code class="language-rust">let a: u32 = 4;
let result = a.is_power_of_two();
</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">MachineApplicable</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">1.82.0</span></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+manual_is_power_of_two">Related Issues</a></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/manual_is_power_of_two.rs#L12">View Source</a></div></div></div></article><article class="panel panel-default" id="manual_is_variant_and"><input id="label-manual_is_variant_and" type="checkbox"><label for="label-manual_is_variant_and" onclick="highlightIfNeeded('manual_is_variant_and')"><header class="panel-heading"><h2 class="panel-title"><div class="panel-title-name" id="lint-manual_is_variant_and"><span>manual_is_variant_and</span> <a href="#manual_is_variant_and" 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">MachineApplicable</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">1.83.0</span></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+manual_is_power_of_two">Related Issues</a></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/manual_is_power_of_two.rs#L12">View Source</a></div></div></div></article><article class="panel panel-default" id="manual_is_variant_and"><input id="label-manual_is_variant_and" type="checkbox"><label for="label-manual_is_variant_and" onclick="highlightIfNeeded('manual_is_variant_and')"><header class="panel-heading"><h2 class="panel-title"><div class="panel-title-name" id="lint-manual_is_variant_and"><span>manual_is_variant_and</span> <a href="#manual_is_variant_and" 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>
<p>Checks for usage of <code>option.map(f).unwrap_or_default()</code> and <code>result.map(f).unwrap_or_default()</code> where f is a function or closure that returns the <code>bool</code> type.</p>
<h3>Why is this bad?</h3>
<p>Readability. These can be written more concisely as <code>option.is_some_and(f)</code> and <code>result.is_ok_and(f)</code>.</p>
Expand Down Expand Up @@ -9442,7 +9442,7 @@ <h3>Example</h3>
let r2 = x % NonZeroU64::from(y);
}
</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">MachineApplicable</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">1.81.0</span></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+non_zero_suggestions">Related Issues</a></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/non_zero_suggestions.rs#L11">View Source</a></div></div></div></article><article class="panel panel-default" id="nonminimal_bool"><input id="label-nonminimal_bool" type="checkbox"><label for="label-nonminimal_bool" onclick="highlightIfNeeded('nonminimal_bool')"><header class="panel-heading"><h2 class="panel-title"><div class="panel-title-name" id="lint-nonminimal_bool"><span>nonminimal_bool</span> <a href="#nonminimal_bool" 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-complexity">complexity</span> <span class="label label-lint-level label-lint-level-warn">warn</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">MachineApplicable</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">1.83.0</span></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+non_zero_suggestions">Related Issues</a></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/non_zero_suggestions.rs#L11">View Source</a></div></div></div></article><article class="panel panel-default" id="nonminimal_bool"><input id="label-nonminimal_bool" type="checkbox"><label for="label-nonminimal_bool" onclick="highlightIfNeeded('nonminimal_bool')"><header class="panel-heading"><h2 class="panel-title"><div class="panel-title-name" id="lint-nonminimal_bool"><span>nonminimal_bool</span> <a href="#nonminimal_bool" 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-complexity">complexity</span> <span class="label label-lint-level label-lint-level-warn">warn</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 for boolean expressions that can be written more
concisely.</p>
<h3>Why is this bad?</h3>
Expand Down Expand Up @@ -15072,7 +15072,7 @@ <h3>Example</h3>
let _ = FooStruct{};
}
</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+used_underscore_items">Related Issues</a></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/misc.rs#L84">View Source</a></div></div></div></article><article class="panel panel-default" id="useless_asref"><input id="label-useless_asref" type="checkbox"><label for="label-useless_asref" onclick="highlightIfNeeded('useless_asref')"><header class="panel-heading"><h2 class="panel-title"><div class="panel-title-name" id="lint-useless_asref"><span>useless_asref</span> <a href="#useless_asref" 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-complexity">complexity</span> <span class="label label-lint-level label-lint-level-warn">warn</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">1.83.0</span></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+used_underscore_items">Related Issues</a></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/misc.rs#L84">View Source</a></div></div></div></article><article class="panel panel-default" id="useless_asref"><input id="label-useless_asref" type="checkbox"><label for="label-useless_asref" onclick="highlightIfNeeded('useless_asref')"><header class="panel-heading"><h2 class="panel-title"><div class="panel-title-name" id="lint-useless_asref"><span>useless_asref</span> <a href="#useless_asref" 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-complexity">complexity</span> <span class="label label-lint-level label-lint-level-warn">warn</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 for usage of <code>.as_ref()</code> or <code>.as_mut()</code> where the
types before and after the call are the same.</p>
<h3>Why is this bad?</h3>
Expand Down Expand Up @@ -15706,7 +15706,7 @@ <h3>Example</h3>
let mut child = Command::new("ls").spawn().expect("failed to execute child");
child.wait().expect("failed to wait on child");
</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">MaybeIncorrect</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">1.74.0</span></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+zombie_processes">Related Issues</a></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/zombie_processes.rs#L14">View Source</a></div></div></div></article><article class="panel panel-default" id="zst_offset"><input id="label-zst_offset" type="checkbox"><label for="label-zst_offset" onclick="highlightIfNeeded('zst_offset')"><header class="panel-heading"><h2 class="panel-title"><div class="panel-title-name" id="lint-zst_offset"><span>zst_offset</span> <a href="#zst_offset" 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-correctness">correctness</span> <span class="label label-lint-level label-lint-level-deny">deny</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">MaybeIncorrect</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">1.83.0</span></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+zombie_processes">Related Issues</a></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/zombie_processes.rs#L14">View Source</a></div></div></div></article><article class="panel panel-default" id="zst_offset"><input id="label-zst_offset" type="checkbox"><label for="label-zst_offset" onclick="highlightIfNeeded('zst_offset')"><header class="panel-heading"><h2 class="panel-title"><div class="panel-title-name" id="lint-zst_offset"><span>zst_offset</span> <a href="#zst_offset" 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-correctness">correctness</span> <span class="label label-lint-level label-lint-level-deny">deny</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 for <code>offset(_)</code>, <code>wrapping_</code>{<code>add</code>, <code>sub</code>}, etc. on raw pointers to
zero-sized types</p>
<h3>Why is this bad?</h3>
Expand Down

0 comments on commit 4c40f77

Please sign in to comment.