Skip to content

Commit fc45663

Browse files
author
GHA CI
committed
Automatic deploy to GitHub Pages: e188c7d
1 parent 73ec7f2 commit fc45663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

master/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -12539,7 +12539,7 @@ <h3>Example</h3>
1253912539
<pre><code class="language-rust">vec.iter().find(|x| **x != 0);
1254012540
</code></pre>
1254112541
</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.42.0</span></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+skip_while_next">Related Issues</a></div><div class="lint-additional-info-item"><a href="https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/methods/mod.rs#L707">View Source</a></div></div></div></article><article class="panel panel-default" id="sliced_string_as_bytes"><input id="label-sliced_string_as_bytes" type="checkbox"><label for="label-sliced_string_as_bytes" onclick="highlightIfNeeded('sliced_string_as_bytes')"><header class="panel-heading"><h2 class="panel-title"><div class="panel-title-name" id="lint-sliced_string_as_bytes"><span>sliced_string_as_bytes</span> <a href="#sliced_string_as_bytes" 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-perf">perf</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>
12542-
<p>Checks for string slices immediantly followed by <code>as_bytes</code>.</p>
12542+
<p>Checks for string slices immediately followed by <code>as_bytes</code>.</p>
1254312543
<h3>Why is this bad?</h3>
1254412544
<p>It involves doing an unnecessary UTF-8 alignment check which is less efficient, and can cause a panic.</p>
1254512545
<h3>Known problems</h3>

0 commit comments

Comments
 (0)