generator: Mark hyperlinks as such #1340
Annotations
1 error
x11rb-protocol/src/packet_reader.rs#L135
[clippy] reported by reviewdog 🐶
<pre><code>error: this loop never actually loops
--> x11rb-protocol/src/packet_reader.rs:135:9
|
135 | / for mut packet in packets {
136 | | let original_packet = packet.clone();
137 | |
138 | | loop {
... |
148 | | }
149 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop
= note: `#[deny(clippy::never_loop)]` on by default
help: if you need the first element of the iterator, try writing
|
135 | if let Some(mut packet) = packets.into_iter().next() {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
</code></pre>
Raw Output:
x11rb-protocol/src/packet_reader.rs:135:9:e:
<pre><code>error: this loop never actually loops
--> x11rb-protocol/src/packet_reader.rs:135:9
|
135 | / for mut packet in packets {
136 | | let original_packet = packet.clone();
137 | |
138 | | loop {
... |
148 | | }
149 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop
= note: `#[deny(clippy::never_loop)]` on by default
help: if you need the first element of the iterator, try writing
|
135 | if let Some(mut packet) = packets.into_iter().next() {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
</code></pre>
__END__
|
The logs for this run have expired and are no longer available.
Loading