Skip to content

Commit

Permalink
Automatic deploy to GitHub Pages: 2550530
Browse files Browse the repository at this point in the history
  • Loading branch information
GHA CI committed Dec 3, 2024
1 parent 99911c7 commit cb8bef0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion master/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10223,6 +10223,7 @@ <h3>Example</h3>
<ul>
<li>mixed usage of arithmetic and bit shifting/combining operators without
parentheses</li>
<li>mixed usage of bitmasking and bit shifting operators without parentheses</li>
</ul>
<h3>Why is this bad?</h3>
<p>Not everyone knows the precedence of those operators by
Expand All @@ -10231,8 +10232,9 @@ <h3>Why is this bad?</h3>
<h3>Example</h3>
<ul>
<li><code>1 &lt;&lt; 2 + 3</code> equals 32, while <code>(1 &lt;&lt; 2) + 3</code> equals 7</li>
<li><code>0x2345 &amp; 0xF000 &gt;&gt; 12</code> equals 5, while <code>(0x2345 &amp; 0xF000) &gt;&gt; 12</code> equals 2</li>
</ul>
</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">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+precedence">Related Issues</a></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/precedence.rs#L9">View Source</a></div></div></div></article><article class="panel panel-default" id="print_in_format_impl"><input id="label-print_in_format_impl" type="checkbox"><label for="label-print_in_format_impl" onclick="highlightIfNeeded('print_in_format_impl')"><header class="panel-heading"><h2 class="panel-title"><div class="panel-title-name" id="lint-print_in_format_impl"><span>print_in_format_impl</span> <a href="#print_in_format_impl" 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-suspicious">suspicious</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">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+precedence">Related Issues</a></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/precedence.rs#L10">View Source</a></div></div></div></article><article class="panel panel-default" id="print_in_format_impl"><input id="label-print_in_format_impl" type="checkbox"><label for="label-print_in_format_impl" onclick="highlightIfNeeded('print_in_format_impl')"><header class="panel-heading"><h2 class="panel-title"><div class="panel-title-name" id="lint-print_in_format_impl"><span>print_in_format_impl</span> <a href="#print_in_format_impl" 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-suspicious">suspicious</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>println</code>, <code>print</code>, <code>eprintln</code> or <code>eprint</code> in an
implementation of a formatting trait.</p>
<h3>Why is this bad?</h3>
Expand Down

0 comments on commit cb8bef0

Please sign in to comment.