version bump #305
Annotations
322 warnings
doc list item without indentation:
crates/kira/src/track.rs#L250
warning: doc list item without indentation
--> crates/kira/src/track.rs:250:1
|
250 | track has 50% volume, giving us more reverb for these sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
250 | track has 50% volume, giving us more reverb for these sounds.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L241
warning: doc list item without indentation
--> crates/kira/src/track.rs:241:1
|
241 | tracks will already be outputting their dry signal to the main track.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
241 | tracks will already be outputting their dry signal to the main track.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L240
warning: doc list item without indentation
--> crates/kira/src/track.rs:240:1
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L239
warning: doc list item without indentation
--> crates/kira/src/track.rs:239:1
|
239 | so that only the reverb signal is output from this track. We don't need any of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
239 | so that only the reverb signal is output from this track. We don't need any of
| +++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L15
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:15:1
|
15 | of sounds depending on their angle from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | of sounds depending on their angle from the listener
| ++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L13
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:13:1
|
13 | from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | from the listener
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L13
warning: doc list item without indentation
--> crates/kira/src/sound.rs:13:1
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L12
warning: doc list item without indentation
--> crates/kira/src/sound.rs:12:1
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L10
warning: doc list item without indentation
--> crates/kira/src/sound.rs:10:1
|
10 | or sounds where consistent start times are important.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | or sounds where consistent start times are important.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L9
warning: doc list item without indentation
--> crates/kira/src/sound.rs:9:1
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ++
|
doc list item without indentation:
crates/kira/src/modulator.rs#L18
warning: doc list item without indentation
--> crates/kira/src/modulator.rs:18:1
|
18 | transition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | transition
| ++
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/filter.rs#L83
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/filter.rs:83:24
|
83 | let k = 2.0 - (1.9 * self.resonance.value().min(1.0).max(0.0));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `self.resonance.value().clamp(0.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L70
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:70:5
|
70 | output.right.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.right.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L69
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:69:5
|
69 | output.left.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.left.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
= note: `#[warn(clippy::manual_clamp)]` on by default
|
doc list item without indentation:
crates/kira/src/lib.rs#L170
warning: doc list item without indentation
--> crates/kira/src/lib.rs:170:1
|
170 | for Android compilation
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
170 | for Android compilation
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L168
warning: doc list item without indentation
--> crates/kira/src/lib.rs:168:1
|
168 | for people developing Kira itself.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
168 | for people developing Kira itself.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L167
warning: doc list item without indentation
--> crates/kira/src/lib.rs:167:1
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L141
warning: doc list item without indentation
--> crates/kira/src/lib.rs:141:1
|
141 | audio formats, like MP3 and WAV.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | audio formats, like MP3 and WAV.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L139
warning: doc list item without indentation
--> crates/kira/src/lib.rs:139:1
|
139 | users should leave this enabled.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
139 | users should leave this enabled.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L138
warning: doc list item without indentation
--> crates/kira/src/lib.rs:138:1
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ++
|
doc list item without indentation:
crates/kira/src/track.rs#L250
warning: doc list item without indentation
--> crates/kira/src/track.rs:250:1
|
250 | track has 50% volume, giving us more reverb for these sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
250 | track has 50% volume, giving us more reverb for these sounds.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L241
warning: doc list item without indentation
--> crates/kira/src/track.rs:241:1
|
241 | tracks will already be outputting their dry signal to the main track.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
241 | tracks will already be outputting their dry signal to the main track.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L240
warning: doc list item without indentation
--> crates/kira/src/track.rs:240:1
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L239
warning: doc list item without indentation
--> crates/kira/src/track.rs:239:1
|
239 | so that only the reverb signal is output from this track. We don't need any of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
239 | so that only the reverb signal is output from this track. We don't need any of
| +++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L15
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:15:1
|
15 | of sounds depending on their angle from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | of sounds depending on their angle from the listener
| ++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L13
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:13:1
|
13 | from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | from the listener
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L13
warning: doc list item without indentation
--> crates/kira/src/sound.rs:13:1
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L12
warning: doc list item without indentation
--> crates/kira/src/sound.rs:12:1
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L10
warning: doc list item without indentation
--> crates/kira/src/sound.rs:10:1
|
10 | or sounds where consistent start times are important.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | or sounds where consistent start times are important.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L9
warning: doc list item without indentation
--> crates/kira/src/sound.rs:9:1
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ++
|
doc list item without indentation:
crates/kira/src/modulator.rs#L18
warning: doc list item without indentation
--> crates/kira/src/modulator.rs:18:1
|
18 | transition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | transition
| ++
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/filter.rs#L83
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/filter.rs:83:24
|
83 | let k = 2.0 - (1.9 * self.resonance.value().min(1.0).max(0.0));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `self.resonance.value().clamp(0.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L70
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:70:5
|
70 | output.right.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.right.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L69
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:69:5
|
69 | output.left.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.left.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
= note: `#[warn(clippy::manual_clamp)]` on by default
|
doc list item without indentation:
crates/kira/src/lib.rs#L170
warning: doc list item without indentation
--> crates/kira/src/lib.rs:170:1
|
170 | for Android compilation
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
170 | for Android compilation
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L168
warning: doc list item without indentation
--> crates/kira/src/lib.rs:168:1
|
168 | for people developing Kira itself.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
168 | for people developing Kira itself.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L167
warning: doc list item without indentation
--> crates/kira/src/lib.rs:167:1
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L141
warning: doc list item without indentation
--> crates/kira/src/lib.rs:141:1
|
141 | audio formats, like MP3 and WAV.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | audio formats, like MP3 and WAV.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L139
warning: doc list item without indentation
--> crates/kira/src/lib.rs:139:1
|
139 | users should leave this enabled.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
139 | users should leave this enabled.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L138
warning: doc list item without indentation
--> crates/kira/src/lib.rs:138:1
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ++
|
doc list item without indentation:
crates/kira/src/track.rs#L250
warning: doc list item without indentation
--> crates/kira/src/track.rs:250:1
|
250 | track has 50% volume, giving us more reverb for these sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
250 | track has 50% volume, giving us more reverb for these sounds.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L241
warning: doc list item without indentation
--> crates/kira/src/track.rs:241:1
|
241 | tracks will already be outputting their dry signal to the main track.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
241 | tracks will already be outputting their dry signal to the main track.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L240
warning: doc list item without indentation
--> crates/kira/src/track.rs:240:1
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L239
warning: doc list item without indentation
--> crates/kira/src/track.rs:239:1
|
239 | so that only the reverb signal is output from this track. We don't need any of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
239 | so that only the reverb signal is output from this track. We don't need any of
| +++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L15
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:15:1
|
15 | of sounds depending on their angle from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | of sounds depending on their angle from the listener
| ++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L13
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:13:1
|
13 | from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | from the listener
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L13
warning: doc list item without indentation
--> crates/kira/src/sound.rs:13:1
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L12
warning: doc list item without indentation
--> crates/kira/src/sound.rs:12:1
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L10
warning: doc list item without indentation
--> crates/kira/src/sound.rs:10:1
|
10 | or sounds where consistent start times are important.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | or sounds where consistent start times are important.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L9
warning: doc list item without indentation
--> crates/kira/src/sound.rs:9:1
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ++
|
doc list item without indentation:
crates/kira/src/modulator.rs#L18
warning: doc list item without indentation
--> crates/kira/src/modulator.rs:18:1
|
18 | transition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | transition
| ++
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/filter.rs#L83
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/filter.rs:83:24
|
83 | let k = 2.0 - (1.9 * self.resonance.value().min(1.0).max(0.0));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `self.resonance.value().clamp(0.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L70
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:70:5
|
70 | output.right.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.right.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L69
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:69:5
|
69 | output.left.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.left.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
= note: `#[warn(clippy::manual_clamp)]` on by default
|
doc list item without indentation:
crates/kira/src/lib.rs#L170
warning: doc list item without indentation
--> crates/kira/src/lib.rs:170:1
|
170 | for Android compilation
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
170 | for Android compilation
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L168
warning: doc list item without indentation
--> crates/kira/src/lib.rs:168:1
|
168 | for people developing Kira itself.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
168 | for people developing Kira itself.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L167
warning: doc list item without indentation
--> crates/kira/src/lib.rs:167:1
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L141
warning: doc list item without indentation
--> crates/kira/src/lib.rs:141:1
|
141 | audio formats, like MP3 and WAV.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | audio formats, like MP3 and WAV.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L139
warning: doc list item without indentation
--> crates/kira/src/lib.rs:139:1
|
139 | users should leave this enabled.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
139 | users should leave this enabled.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L138
warning: doc list item without indentation
--> crates/kira/src/lib.rs:138:1
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ++
|
doc list item without indentation:
crates/kira/src/track.rs#L250
warning: doc list item without indentation
--> crates/kira/src/track.rs:250:1
|
250 | track has 50% volume, giving us more reverb for these sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
250 | track has 50% volume, giving us more reverb for these sounds.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L241
warning: doc list item without indentation
--> crates/kira/src/track.rs:241:1
|
241 | tracks will already be outputting their dry signal to the main track.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
241 | tracks will already be outputting their dry signal to the main track.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L240
warning: doc list item without indentation
--> crates/kira/src/track.rs:240:1
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L239
warning: doc list item without indentation
--> crates/kira/src/track.rs:239:1
|
239 | so that only the reverb signal is output from this track. We don't need any of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
239 | so that only the reverb signal is output from this track. We don't need any of
| +++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L15
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:15:1
|
15 | of sounds depending on their angle from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | of sounds depending on their angle from the listener
| ++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L13
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:13:1
|
13 | from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | from the listener
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L13
warning: doc list item without indentation
--> crates/kira/src/sound.rs:13:1
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L12
warning: doc list item without indentation
--> crates/kira/src/sound.rs:12:1
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L10
warning: doc list item without indentation
--> crates/kira/src/sound.rs:10:1
|
10 | or sounds where consistent start times are important.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | or sounds where consistent start times are important.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L9
warning: doc list item without indentation
--> crates/kira/src/sound.rs:9:1
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ++
|
doc list item without indentation:
crates/kira/src/modulator.rs#L18
warning: doc list item without indentation
--> crates/kira/src/modulator.rs:18:1
|
18 | transition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | transition
| ++
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/filter.rs#L83
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/filter.rs:83:24
|
83 | let k = 2.0 - (1.9 * self.resonance.value().min(1.0).max(0.0));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `self.resonance.value().clamp(0.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L70
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:70:5
|
70 | output.right.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.right.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L69
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:69:5
|
69 | output.left.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.left.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
= note: `#[warn(clippy::manual_clamp)]` on by default
|
doc list item without indentation:
crates/kira/src/lib.rs#L170
warning: doc list item without indentation
--> crates/kira/src/lib.rs:170:1
|
170 | for Android compilation
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
170 | for Android compilation
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L168
warning: doc list item without indentation
--> crates/kira/src/lib.rs:168:1
|
168 | for people developing Kira itself.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
168 | for people developing Kira itself.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L167
warning: doc list item without indentation
--> crates/kira/src/lib.rs:167:1
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L141
warning: doc list item without indentation
--> crates/kira/src/lib.rs:141:1
|
141 | audio formats, like MP3 and WAV.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | audio formats, like MP3 and WAV.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L139
warning: doc list item without indentation
--> crates/kira/src/lib.rs:139:1
|
139 | users should leave this enabled.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
139 | users should leave this enabled.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L138
warning: doc list item without indentation
--> crates/kira/src/lib.rs:138:1
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ++
|
doc list item without indentation:
crates/kira/src/track.rs#L250
warning: doc list item without indentation
--> crates/kira/src/track.rs:250:1
|
250 | track has 50% volume, giving us more reverb for these sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
250 | track has 50% volume, giving us more reverb for these sounds.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L241
warning: doc list item without indentation
--> crates/kira/src/track.rs:241:1
|
241 | tracks will already be outputting their dry signal to the main track.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
241 | tracks will already be outputting their dry signal to the main track.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L240
warning: doc list item without indentation
--> crates/kira/src/track.rs:240:1
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L239
warning: doc list item without indentation
--> crates/kira/src/track.rs:239:1
|
239 | so that only the reverb signal is output from this track. We don't need any of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
239 | so that only the reverb signal is output from this track. We don't need any of
| +++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L15
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:15:1
|
15 | of sounds depending on their angle from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | of sounds depending on their angle from the listener
| ++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L13
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:13:1
|
13 | from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | from the listener
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L13
warning: doc list item without indentation
--> crates/kira/src/sound.rs:13:1
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L12
warning: doc list item without indentation
--> crates/kira/src/sound.rs:12:1
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L10
warning: doc list item without indentation
--> crates/kira/src/sound.rs:10:1
|
10 | or sounds where consistent start times are important.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | or sounds where consistent start times are important.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L9
warning: doc list item without indentation
--> crates/kira/src/sound.rs:9:1
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ++
|
doc list item without indentation:
crates/kira/src/modulator.rs#L18
warning: doc list item without indentation
--> crates/kira/src/modulator.rs:18:1
|
18 | transition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | transition
| ++
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/filter.rs#L83
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/filter.rs:83:24
|
83 | let k = 2.0 - (1.9 * self.resonance.value().min(1.0).max(0.0));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `self.resonance.value().clamp(0.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L70
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:70:5
|
70 | output.right.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.right.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L69
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:69:5
|
69 | output.left.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.left.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
= note: `#[warn(clippy::manual_clamp)]` on by default
|
doc list item without indentation:
crates/kira/src/lib.rs#L170
warning: doc list item without indentation
--> crates/kira/src/lib.rs:170:1
|
170 | for Android compilation
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
170 | for Android compilation
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L168
warning: doc list item without indentation
--> crates/kira/src/lib.rs:168:1
|
168 | for people developing Kira itself.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
168 | for people developing Kira itself.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L167
warning: doc list item without indentation
--> crates/kira/src/lib.rs:167:1
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L141
warning: doc list item without indentation
--> crates/kira/src/lib.rs:141:1
|
141 | audio formats, like MP3 and WAV.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | audio formats, like MP3 and WAV.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L139
warning: doc list item without indentation
--> crates/kira/src/lib.rs:139:1
|
139 | users should leave this enabled.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
139 | users should leave this enabled.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L138
warning: doc list item without indentation
--> crates/kira/src/lib.rs:138:1
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ++
|
doc list item without indentation:
crates/kira/src/track.rs#L250
warning: doc list item without indentation
--> crates/kira/src/track.rs:250:1
|
250 | track has 50% volume, giving us more reverb for these sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
250 | track has 50% volume, giving us more reverb for these sounds.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L241
warning: doc list item without indentation
--> crates/kira/src/track.rs:241:1
|
241 | tracks will already be outputting their dry signal to the main track.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
241 | tracks will already be outputting their dry signal to the main track.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L240
warning: doc list item without indentation
--> crates/kira/src/track.rs:240:1
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L239
warning: doc list item without indentation
--> crates/kira/src/track.rs:239:1
|
239 | so that only the reverb signal is output from this track. We don't need any of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
239 | so that only the reverb signal is output from this track. We don't need any of
| +++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L15
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:15:1
|
15 | of sounds depending on their angle from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | of sounds depending on their angle from the listener
| ++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L13
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:13:1
|
13 | from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | from the listener
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L13
warning: doc list item without indentation
--> crates/kira/src/sound.rs:13:1
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L12
warning: doc list item without indentation
--> crates/kira/src/sound.rs:12:1
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L10
warning: doc list item without indentation
--> crates/kira/src/sound.rs:10:1
|
10 | or sounds where consistent start times are important.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | or sounds where consistent start times are important.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L9
warning: doc list item without indentation
--> crates/kira/src/sound.rs:9:1
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ++
|
doc list item without indentation:
crates/kira/src/modulator.rs#L18
warning: doc list item without indentation
--> crates/kira/src/modulator.rs:18:1
|
18 | transition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | transition
| ++
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/filter.rs#L83
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/filter.rs:83:24
|
83 | let k = 2.0 - (1.9 * self.resonance.value().min(1.0).max(0.0));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `self.resonance.value().clamp(0.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L70
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:70:5
|
70 | output.right.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.right.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L69
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:69:5
|
69 | output.left.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.left.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
= note: `#[warn(clippy::manual_clamp)]` on by default
|
doc list item without indentation:
crates/kira/src/lib.rs#L170
warning: doc list item without indentation
--> crates/kira/src/lib.rs:170:1
|
170 | for Android compilation
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
170 | for Android compilation
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L168
warning: doc list item without indentation
--> crates/kira/src/lib.rs:168:1
|
168 | for people developing Kira itself.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
168 | for people developing Kira itself.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L167
warning: doc list item without indentation
--> crates/kira/src/lib.rs:167:1
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L141
warning: doc list item without indentation
--> crates/kira/src/lib.rs:141:1
|
141 | audio formats, like MP3 and WAV.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | audio formats, like MP3 and WAV.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L139
warning: doc list item without indentation
--> crates/kira/src/lib.rs:139:1
|
139 | users should leave this enabled.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
139 | users should leave this enabled.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L138
warning: doc list item without indentation
--> crates/kira/src/lib.rs:138:1
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ++
|
doc list item without indentation:
crates/kira/src/track.rs#L250
warning: doc list item without indentation
--> crates/kira/src/track.rs:250:1
|
250 | track has 50% volume, giving us more reverb for these sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
250 | track has 50% volume, giving us more reverb for these sounds.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L241
warning: doc list item without indentation
--> crates/kira/src/track.rs:241:1
|
241 | tracks will already be outputting their dry signal to the main track.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
241 | tracks will already be outputting their dry signal to the main track.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L240
warning: doc list item without indentation
--> crates/kira/src/track.rs:240:1
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L239
warning: doc list item without indentation
--> crates/kira/src/track.rs:239:1
|
239 | so that only the reverb signal is output from this track. We don't need any of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
239 | so that only the reverb signal is output from this track. We don't need any of
| +++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L15
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:15:1
|
15 | of sounds depending on their angle from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | of sounds depending on their angle from the listener
| ++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L13
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:13:1
|
13 | from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | from the listener
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L13
warning: doc list item without indentation
--> crates/kira/src/sound.rs:13:1
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L12
warning: doc list item without indentation
--> crates/kira/src/sound.rs:12:1
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L10
warning: doc list item without indentation
--> crates/kira/src/sound.rs:10:1
|
10 | or sounds where consistent start times are important.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | or sounds where consistent start times are important.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L9
warning: doc list item without indentation
--> crates/kira/src/sound.rs:9:1
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ++
|
doc list item without indentation:
crates/kira/src/modulator.rs#L18
warning: doc list item without indentation
--> crates/kira/src/modulator.rs:18:1
|
18 | transition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | transition
| ++
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/filter.rs#L83
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/filter.rs:83:24
|
83 | let k = 2.0 - (1.9 * self.resonance.value().min(1.0).max(0.0));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `self.resonance.value().clamp(0.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L70
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:70:5
|
70 | output.right.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.right.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L69
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:69:5
|
69 | output.left.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.left.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
= note: `#[warn(clippy::manual_clamp)]` on by default
|
doc list item without indentation:
crates/kira/src/lib.rs#L170
warning: doc list item without indentation
--> crates/kira/src/lib.rs:170:1
|
170 | for Android compilation
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
170 | for Android compilation
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L168
warning: doc list item without indentation
--> crates/kira/src/lib.rs:168:1
|
168 | for people developing Kira itself.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
168 | for people developing Kira itself.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L167
warning: doc list item without indentation
--> crates/kira/src/lib.rs:167:1
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L141
warning: doc list item without indentation
--> crates/kira/src/lib.rs:141:1
|
141 | audio formats, like MP3 and WAV.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | audio formats, like MP3 and WAV.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L139
warning: doc list item without indentation
--> crates/kira/src/lib.rs:139:1
|
139 | users should leave this enabled.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
139 | users should leave this enabled.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L138
warning: doc list item without indentation
--> crates/kira/src/lib.rs:138:1
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ++
|
doc list item without indentation:
crates/kira/src/track.rs#L250
warning: doc list item without indentation
--> crates/kira/src/track.rs:250:1
|
250 | track has 50% volume, giving us more reverb for these sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
250 | track has 50% volume, giving us more reverb for these sounds.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L241
warning: doc list item without indentation
--> crates/kira/src/track.rs:241:1
|
241 | tracks will already be outputting their dry signal to the main track.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
241 | tracks will already be outputting their dry signal to the main track.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L240
warning: doc list item without indentation
--> crates/kira/src/track.rs:240:1
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L239
warning: doc list item without indentation
--> crates/kira/src/track.rs:239:1
|
239 | so that only the reverb signal is output from this track. We don't need any of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
239 | so that only the reverb signal is output from this track. We don't need any of
| +++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L15
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:15:1
|
15 | of sounds depending on their angle from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | of sounds depending on their angle from the listener
| ++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L13
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:13:1
|
13 | from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | from the listener
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L13
warning: doc list item without indentation
--> crates/kira/src/sound.rs:13:1
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L12
warning: doc list item without indentation
--> crates/kira/src/sound.rs:12:1
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L10
warning: doc list item without indentation
--> crates/kira/src/sound.rs:10:1
|
10 | or sounds where consistent start times are important.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | or sounds where consistent start times are important.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L9
warning: doc list item without indentation
--> crates/kira/src/sound.rs:9:1
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ++
|
doc list item without indentation:
crates/kira/src/modulator.rs#L18
warning: doc list item without indentation
--> crates/kira/src/modulator.rs:18:1
|
18 | transition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | transition
| ++
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/filter.rs#L83
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/filter.rs:83:24
|
83 | let k = 2.0 - (1.9 * self.resonance.value().min(1.0).max(0.0));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `self.resonance.value().clamp(0.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L70
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:70:5
|
70 | output.right.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.right.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L69
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:69:5
|
69 | output.left.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.left.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
= note: `#[warn(clippy::manual_clamp)]` on by default
|
doc list item without indentation:
crates/kira/src/lib.rs#L170
warning: doc list item without indentation
--> crates/kira/src/lib.rs:170:1
|
170 | for Android compilation
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
170 | for Android compilation
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L168
warning: doc list item without indentation
--> crates/kira/src/lib.rs:168:1
|
168 | for people developing Kira itself.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
168 | for people developing Kira itself.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L167
warning: doc list item without indentation
--> crates/kira/src/lib.rs:167:1
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L141
warning: doc list item without indentation
--> crates/kira/src/lib.rs:141:1
|
141 | audio formats, like MP3 and WAV.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | audio formats, like MP3 and WAV.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L139
warning: doc list item without indentation
--> crates/kira/src/lib.rs:139:1
|
139 | users should leave this enabled.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
139 | users should leave this enabled.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L138
warning: doc list item without indentation
--> crates/kira/src/lib.rs:138:1
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ++
|
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
doc list item without indentation:
crates/kira/src/track.rs#L250
warning: doc list item without indentation
--> crates/kira/src/track.rs:250:1
|
250 | track has 50% volume, giving us more reverb for these sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
250 | track has 50% volume, giving us more reverb for these sounds.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L241
warning: doc list item without indentation
--> crates/kira/src/track.rs:241:1
|
241 | tracks will already be outputting their dry signal to the main track.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
241 | tracks will already be outputting their dry signal to the main track.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L240
warning: doc list item without indentation
--> crates/kira/src/track.rs:240:1
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L239
warning: doc list item without indentation
--> crates/kira/src/track.rs:239:1
|
239 | so that only the reverb signal is output from this track. We don't need any of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
239 | so that only the reverb signal is output from this track. We don't need any of
| +++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L15
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:15:1
|
15 | of sounds depending on their angle from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | of sounds depending on their angle from the listener
| ++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L13
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:13:1
|
13 | from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | from the listener
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L13
warning: doc list item without indentation
--> crates/kira/src/sound.rs:13:1
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L12
warning: doc list item without indentation
--> crates/kira/src/sound.rs:12:1
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L10
warning: doc list item without indentation
--> crates/kira/src/sound.rs:10:1
|
10 | or sounds where consistent start times are important.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | or sounds where consistent start times are important.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L9
warning: doc list item without indentation
--> crates/kira/src/sound.rs:9:1
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ++
|
doc list item without indentation:
crates/kira/src/modulator.rs#L18
warning: doc list item without indentation
--> crates/kira/src/modulator.rs:18:1
|
18 | transition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | transition
| ++
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/filter.rs#L83
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/filter.rs:83:24
|
83 | let k = 2.0 - (1.9 * self.resonance.value().min(1.0).max(0.0));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `self.resonance.value().clamp(0.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L70
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:70:5
|
70 | output.right.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.right.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L69
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:69:5
|
69 | output.left.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.left.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
= note: `#[warn(clippy::manual_clamp)]` on by default
|
doc list item without indentation:
crates/kira/src/lib.rs#L170
warning: doc list item without indentation
--> crates/kira/src/lib.rs:170:1
|
170 | for Android compilation
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
170 | for Android compilation
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L168
warning: doc list item without indentation
--> crates/kira/src/lib.rs:168:1
|
168 | for people developing Kira itself.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
168 | for people developing Kira itself.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L167
warning: doc list item without indentation
--> crates/kira/src/lib.rs:167:1
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L141
warning: doc list item without indentation
--> crates/kira/src/lib.rs:141:1
|
141 | audio formats, like MP3 and WAV.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | audio formats, like MP3 and WAV.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L139
warning: doc list item without indentation
--> crates/kira/src/lib.rs:139:1
|
139 | users should leave this enabled.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
139 | users should leave this enabled.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L138
warning: doc list item without indentation
--> crates/kira/src/lib.rs:138:1
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ++
|
doc list item without indentation:
crates/kira/src/track.rs#L250
warning: doc list item without indentation
--> crates/kira/src/track.rs:250:1
|
250 | track has 50% volume, giving us more reverb for these sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
250 | track has 50% volume, giving us more reverb for these sounds.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L241
warning: doc list item without indentation
--> crates/kira/src/track.rs:241:1
|
241 | tracks will already be outputting their dry signal to the main track.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
241 | tracks will already be outputting their dry signal to the main track.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L240
warning: doc list item without indentation
--> crates/kira/src/track.rs:240:1
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L239
warning: doc list item without indentation
--> crates/kira/src/track.rs:239:1
|
239 | so that only the reverb signal is output from this track. We don't need any of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
239 | so that only the reverb signal is output from this track. We don't need any of
| +++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L15
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:15:1
|
15 | of sounds depending on their angle from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | of sounds depending on their angle from the listener
| ++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L13
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:13:1
|
13 | from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | from the listener
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L13
warning: doc list item without indentation
--> crates/kira/src/sound.rs:13:1
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L12
warning: doc list item without indentation
--> crates/kira/src/sound.rs:12:1
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L10
warning: doc list item without indentation
--> crates/kira/src/sound.rs:10:1
|
10 | or sounds where consistent start times are important.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | or sounds where consistent start times are important.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L9
warning: doc list item without indentation
--> crates/kira/src/sound.rs:9:1
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ++
|
doc list item without indentation:
crates/kira/src/modulator.rs#L18
warning: doc list item without indentation
--> crates/kira/src/modulator.rs:18:1
|
18 | transition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | transition
| ++
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/filter.rs#L83
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/filter.rs:83:24
|
83 | let k = 2.0 - (1.9 * self.resonance.value().min(1.0).max(0.0));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `self.resonance.value().clamp(0.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L70
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:70:5
|
70 | output.right.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.right.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L69
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:69:5
|
69 | output.left.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.left.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
= note: `#[warn(clippy::manual_clamp)]` on by default
|
doc list item without indentation:
crates/kira/src/lib.rs#L170
warning: doc list item without indentation
--> crates/kira/src/lib.rs:170:1
|
170 | for Android compilation
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
170 | for Android compilation
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L168
warning: doc list item without indentation
--> crates/kira/src/lib.rs:168:1
|
168 | for people developing Kira itself.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
168 | for people developing Kira itself.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L167
warning: doc list item without indentation
--> crates/kira/src/lib.rs:167:1
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L141
warning: doc list item without indentation
--> crates/kira/src/lib.rs:141:1
|
141 | audio formats, like MP3 and WAV.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | audio formats, like MP3 and WAV.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L139
warning: doc list item without indentation
--> crates/kira/src/lib.rs:139:1
|
139 | users should leave this enabled.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
139 | users should leave this enabled.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L138
warning: doc list item without indentation
--> crates/kira/src/lib.rs:138:1
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ++
|
doc list item without indentation:
crates/kira/src/track.rs#L250
warning: doc list item without indentation
--> crates/kira/src/track.rs:250:1
|
250 | track has 50% volume, giving us more reverb for these sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
250 | track has 50% volume, giving us more reverb for these sounds.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L241
warning: doc list item without indentation
--> crates/kira/src/track.rs:241:1
|
241 | tracks will already be outputting their dry signal to the main track.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
241 | tracks will already be outputting their dry signal to the main track.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L240
warning: doc list item without indentation
--> crates/kira/src/track.rs:240:1
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L239
warning: doc list item without indentation
--> crates/kira/src/track.rs:239:1
|
239 | so that only the reverb signal is output from this track. We don't need any of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
239 | so that only the reverb signal is output from this track. We don't need any of
| +++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L15
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:15:1
|
15 | of sounds depending on their angle from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | of sounds depending on their angle from the listener
| ++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L13
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:13:1
|
13 | from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | from the listener
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L13
warning: doc list item without indentation
--> crates/kira/src/sound.rs:13:1
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L12
warning: doc list item without indentation
--> crates/kira/src/sound.rs:12:1
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L10
warning: doc list item without indentation
--> crates/kira/src/sound.rs:10:1
|
10 | or sounds where consistent start times are important.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | or sounds where consistent start times are important.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L9
warning: doc list item without indentation
--> crates/kira/src/sound.rs:9:1
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ++
|
doc list item without indentation:
crates/kira/src/modulator.rs#L18
warning: doc list item without indentation
--> crates/kira/src/modulator.rs:18:1
|
18 | transition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | transition
| ++
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/filter.rs#L83
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/filter.rs:83:24
|
83 | let k = 2.0 - (1.9 * self.resonance.value().min(1.0).max(0.0));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `self.resonance.value().clamp(0.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L70
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:70:5
|
70 | output.right.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.right.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L69
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:69:5
|
69 | output.left.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.left.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
= note: `#[warn(clippy::manual_clamp)]` on by default
|
doc list item without indentation:
crates/kira/src/lib.rs#L170
warning: doc list item without indentation
--> crates/kira/src/lib.rs:170:1
|
170 | for Android compilation
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
170 | for Android compilation
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L168
warning: doc list item without indentation
--> crates/kira/src/lib.rs:168:1
|
168 | for people developing Kira itself.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
168 | for people developing Kira itself.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L167
warning: doc list item without indentation
--> crates/kira/src/lib.rs:167:1
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L141
warning: doc list item without indentation
--> crates/kira/src/lib.rs:141:1
|
141 | audio formats, like MP3 and WAV.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | audio formats, like MP3 and WAV.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L139
warning: doc list item without indentation
--> crates/kira/src/lib.rs:139:1
|
139 | users should leave this enabled.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
139 | users should leave this enabled.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L138
warning: doc list item without indentation
--> crates/kira/src/lib.rs:138:1
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ++
|
doc list item without indentation:
crates/kira/src/track.rs#L250
warning: doc list item without indentation
--> crates/kira/src/track.rs:250:1
|
250 | track has 50% volume, giving us more reverb for these sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
250 | track has 50% volume, giving us more reverb for these sounds.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L241
warning: doc list item without indentation
--> crates/kira/src/track.rs:241:1
|
241 | tracks will already be outputting their dry signal to the main track.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
241 | tracks will already be outputting their dry signal to the main track.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L240
warning: doc list item without indentation
--> crates/kira/src/track.rs:240:1
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L239
warning: doc list item without indentation
--> crates/kira/src/track.rs:239:1
|
239 | so that only the reverb signal is output from this track. We don't need any of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
239 | so that only the reverb signal is output from this track. We don't need any of
| +++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L15
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:15:1
|
15 | of sounds depending on their angle from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | of sounds depending on their angle from the listener
| ++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L13
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:13:1
|
13 | from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | from the listener
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L13
warning: doc list item without indentation
--> crates/kira/src/sound.rs:13:1
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L12
warning: doc list item without indentation
--> crates/kira/src/sound.rs:12:1
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L10
warning: doc list item without indentation
--> crates/kira/src/sound.rs:10:1
|
10 | or sounds where consistent start times are important.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | or sounds where consistent start times are important.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L9
warning: doc list item without indentation
--> crates/kira/src/sound.rs:9:1
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ++
|
doc list item without indentation:
crates/kira/src/modulator.rs#L18
warning: doc list item without indentation
--> crates/kira/src/modulator.rs:18:1
|
18 | transition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | transition
| ++
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/filter.rs#L83
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/filter.rs:83:24
|
83 | let k = 2.0 - (1.9 * self.resonance.value().min(1.0).max(0.0));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `self.resonance.value().clamp(0.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L70
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:70:5
|
70 | output.right.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.right.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L69
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:69:5
|
69 | output.left.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.left.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
= note: `#[warn(clippy::manual_clamp)]` on by default
|
doc list item without indentation:
crates/kira/src/lib.rs#L170
warning: doc list item without indentation
--> crates/kira/src/lib.rs:170:1
|
170 | for Android compilation
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
170 | for Android compilation
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L168
warning: doc list item without indentation
--> crates/kira/src/lib.rs:168:1
|
168 | for people developing Kira itself.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
168 | for people developing Kira itself.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L167
warning: doc list item without indentation
--> crates/kira/src/lib.rs:167:1
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L141
warning: doc list item without indentation
--> crates/kira/src/lib.rs:141:1
|
141 | audio formats, like MP3 and WAV.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | audio formats, like MP3 and WAV.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L139
warning: doc list item without indentation
--> crates/kira/src/lib.rs:139:1
|
139 | users should leave this enabled.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
139 | users should leave this enabled.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L138
warning: doc list item without indentation
--> crates/kira/src/lib.rs:138:1
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ++
|
doc list item without indentation:
crates/kira/src/track.rs#L250
warning: doc list item without indentation
--> crates/kira/src/track.rs:250:1
|
250 | track has 50% volume, giving us more reverb for these sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
250 | track has 50% volume, giving us more reverb for these sounds.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L241
warning: doc list item without indentation
--> crates/kira/src/track.rs:241:1
|
241 | tracks will already be outputting their dry signal to the main track.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
241 | tracks will already be outputting their dry signal to the main track.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L240
warning: doc list item without indentation
--> crates/kira/src/track.rs:240:1
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L239
warning: doc list item without indentation
--> crates/kira/src/track.rs:239:1
|
239 | so that only the reverb signal is output from this track. We don't need any of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
239 | so that only the reverb signal is output from this track. We don't need any of
| +++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L15
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:15:1
|
15 | of sounds depending on their angle from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | of sounds depending on their angle from the listener
| ++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L13
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:13:1
|
13 | from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | from the listener
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L13
warning: doc list item without indentation
--> crates/kira/src/sound.rs:13:1
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L12
warning: doc list item without indentation
--> crates/kira/src/sound.rs:12:1
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L10
warning: doc list item without indentation
--> crates/kira/src/sound.rs:10:1
|
10 | or sounds where consistent start times are important.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | or sounds where consistent start times are important.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L9
warning: doc list item without indentation
--> crates/kira/src/sound.rs:9:1
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ++
|
doc list item without indentation:
crates/kira/src/modulator.rs#L18
warning: doc list item without indentation
--> crates/kira/src/modulator.rs:18:1
|
18 | transition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | transition
| ++
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/filter.rs#L83
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/filter.rs:83:24
|
83 | let k = 2.0 - (1.9 * self.resonance.value().min(1.0).max(0.0));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `self.resonance.value().clamp(0.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L70
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:70:5
|
70 | output.right.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.right.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L69
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:69:5
|
69 | output.left.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.left.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
= note: `#[warn(clippy::manual_clamp)]` on by default
|
doc list item without indentation:
crates/kira/src/lib.rs#L170
warning: doc list item without indentation
--> crates/kira/src/lib.rs:170:1
|
170 | for Android compilation
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
170 | for Android compilation
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L168
warning: doc list item without indentation
--> crates/kira/src/lib.rs:168:1
|
168 | for people developing Kira itself.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
168 | for people developing Kira itself.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L167
warning: doc list item without indentation
--> crates/kira/src/lib.rs:167:1
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L141
warning: doc list item without indentation
--> crates/kira/src/lib.rs:141:1
|
141 | audio formats, like MP3 and WAV.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | audio formats, like MP3 and WAV.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L139
warning: doc list item without indentation
--> crates/kira/src/lib.rs:139:1
|
139 | users should leave this enabled.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
139 | users should leave this enabled.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L138
warning: doc list item without indentation
--> crates/kira/src/lib.rs:138:1
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ++
|
doc list item without indentation:
crates/kira/src/track.rs#L250
warning: doc list item without indentation
--> crates/kira/src/track.rs:250:1
|
250 | track has 50% volume, giving us more reverb for these sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
250 | track has 50% volume, giving us more reverb for these sounds.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L241
warning: doc list item without indentation
--> crates/kira/src/track.rs:241:1
|
241 | tracks will already be outputting their dry signal to the main track.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
241 | tracks will already be outputting their dry signal to the main track.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L240
warning: doc list item without indentation
--> crates/kira/src/track.rs:240:1
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L239
warning: doc list item without indentation
--> crates/kira/src/track.rs:239:1
|
239 | so that only the reverb signal is output from this track. We don't need any of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
239 | so that only the reverb signal is output from this track. We don't need any of
| +++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L15
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:15:1
|
15 | of sounds depending on their angle from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | of sounds depending on their angle from the listener
| ++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L13
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:13:1
|
13 | from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | from the listener
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L13
warning: doc list item without indentation
--> crates/kira/src/sound.rs:13:1
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L12
warning: doc list item without indentation
--> crates/kira/src/sound.rs:12:1
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L10
warning: doc list item without indentation
--> crates/kira/src/sound.rs:10:1
|
10 | or sounds where consistent start times are important.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | or sounds where consistent start times are important.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L9
warning: doc list item without indentation
--> crates/kira/src/sound.rs:9:1
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ++
|
doc list item without indentation:
crates/kira/src/modulator.rs#L18
warning: doc list item without indentation
--> crates/kira/src/modulator.rs:18:1
|
18 | transition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | transition
| ++
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/filter.rs#L83
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/filter.rs:83:24
|
83 | let k = 2.0 - (1.9 * self.resonance.value().min(1.0).max(0.0));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `self.resonance.value().clamp(0.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L70
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:70:5
|
70 | output.right.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.right.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L69
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:69:5
|
69 | output.left.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.left.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
= note: `#[warn(clippy::manual_clamp)]` on by default
|
doc list item without indentation:
crates/kira/src/lib.rs#L170
warning: doc list item without indentation
--> crates/kira/src/lib.rs:170:1
|
170 | for Android compilation
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
170 | for Android compilation
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L168
warning: doc list item without indentation
--> crates/kira/src/lib.rs:168:1
|
168 | for people developing Kira itself.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
168 | for people developing Kira itself.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L167
warning: doc list item without indentation
--> crates/kira/src/lib.rs:167:1
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L141
warning: doc list item without indentation
--> crates/kira/src/lib.rs:141:1
|
141 | audio formats, like MP3 and WAV.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | audio formats, like MP3 and WAV.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L139
warning: doc list item without indentation
--> crates/kira/src/lib.rs:139:1
|
139 | users should leave this enabled.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
139 | users should leave this enabled.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L138
warning: doc list item without indentation
--> crates/kira/src/lib.rs:138:1
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ++
|
doc list item without indentation:
crates/kira/src/track.rs#L250
warning: doc list item without indentation
--> crates/kira/src/track.rs:250:1
|
250 | track has 50% volume, giving us more reverb for these sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
250 | track has 50% volume, giving us more reverb for these sounds.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L241
warning: doc list item without indentation
--> crates/kira/src/track.rs:241:1
|
241 | tracks will already be outputting their dry signal to the main track.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
241 | tracks will already be outputting their dry signal to the main track.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L240
warning: doc list item without indentation
--> crates/kira/src/track.rs:240:1
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L239
warning: doc list item without indentation
--> crates/kira/src/track.rs:239:1
|
239 | so that only the reverb signal is output from this track. We don't need any of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
239 | so that only the reverb signal is output from this track. We don't need any of
| +++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L15
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:15:1
|
15 | of sounds depending on their angle from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | of sounds depending on their angle from the listener
| ++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L13
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:13:1
|
13 | from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | from the listener
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L13
warning: doc list item without indentation
--> crates/kira/src/sound.rs:13:1
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L12
warning: doc list item without indentation
--> crates/kira/src/sound.rs:12:1
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L10
warning: doc list item without indentation
--> crates/kira/src/sound.rs:10:1
|
10 | or sounds where consistent start times are important.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | or sounds where consistent start times are important.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L9
warning: doc list item without indentation
--> crates/kira/src/sound.rs:9:1
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ++
|
doc list item without indentation:
crates/kira/src/modulator.rs#L18
warning: doc list item without indentation
--> crates/kira/src/modulator.rs:18:1
|
18 | transition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | transition
| ++
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/filter.rs#L83
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/filter.rs:83:24
|
83 | let k = 2.0 - (1.9 * self.resonance.value().min(1.0).max(0.0));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `self.resonance.value().clamp(0.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L70
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:70:5
|
70 | output.right.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.right.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L69
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:69:5
|
69 | output.left.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.left.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
= note: `#[warn(clippy::manual_clamp)]` on by default
|
doc list item without indentation:
crates/kira/src/lib.rs#L170
warning: doc list item without indentation
--> crates/kira/src/lib.rs:170:1
|
170 | for Android compilation
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
170 | for Android compilation
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L168
warning: doc list item without indentation
--> crates/kira/src/lib.rs:168:1
|
168 | for people developing Kira itself.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
168 | for people developing Kira itself.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L167
warning: doc list item without indentation
--> crates/kira/src/lib.rs:167:1
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L141
warning: doc list item without indentation
--> crates/kira/src/lib.rs:141:1
|
141 | audio formats, like MP3 and WAV.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | audio formats, like MP3 and WAV.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L139
warning: doc list item without indentation
--> crates/kira/src/lib.rs:139:1
|
139 | users should leave this enabled.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
139 | users should leave this enabled.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L138
warning: doc list item without indentation
--> crates/kira/src/lib.rs:138:1
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ++
|
doc list item without indentation:
crates/kira/src/track.rs#L250
warning: doc list item without indentation
--> crates/kira/src/track.rs:250:1
|
250 | track has 50% volume, giving us more reverb for these sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
250 | track has 50% volume, giving us more reverb for these sounds.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L241
warning: doc list item without indentation
--> crates/kira/src/track.rs:241:1
|
241 | tracks will already be outputting their dry signal to the main track.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
241 | tracks will already be outputting their dry signal to the main track.
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L240
warning: doc list item without indentation
--> crates/kira/src/track.rs:240:1
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
240 | the dry signal to come out of this track, since the `player` and `ambience`
| +++
|
doc list item without indentation:
crates/kira/src/track.rs#L239
warning: doc list item without indentation
--> crates/kira/src/track.rs:239:1
|
239 | so that only the reverb signal is output from this track. We don't need any of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
239 | so that only the reverb signal is output from this track. We don't need any of
| +++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L15
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:15:1
|
15 | of sounds depending on their angle from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
15 | of sounds depending on their angle from the listener
| ++
|
doc list item without indentation:
crates/kira/src/spatial.rs#L13
warning: doc list item without indentation
--> crates/kira/src/spatial.rs:13:1
|
13 | from the listener
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | from the listener
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L13
warning: doc list item without indentation
--> crates/kira/src/sound.rs:13:1
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
13 | play once at a time, like background music. Streaming sounds use less memory than static sounds.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L12
warning: doc list item without indentation
--> crates/kira/src/sound.rs:12:1
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
12 | (only available on desktop platforms). This is more appropriate for long sounds that you only
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L10
warning: doc list item without indentation
--> crates/kira/src/sound.rs:10:1
|
10 | or sounds where consistent start times are important.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | or sounds where consistent start times are important.
| ++
|
doc list item without indentation:
crates/kira/src/sound.rs#L9
warning: doc list item without indentation
--> crates/kira/src/sound.rs:9:1
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
9 | into memory. This is more appropriate for short sounds, sounds you want to play multiple times,
| ++
|
doc list item without indentation:
crates/kira/src/modulator.rs#L18
warning: doc list item without indentation
--> crates/kira/src/modulator.rs:18:1
|
18 | transition
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
18 | transition
| ++
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/filter.rs#L83
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/filter.rs:83:24
|
83 | let k = 2.0 - (1.9 * self.resonance.value().min(1.0).max(0.0));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `self.resonance.value().clamp(0.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L70
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:70:5
|
70 | output.right.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.right.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
|
clamp-like pattern without using clamp function:
crates/kira/src/effect/distortion.rs#L69
warning: clamp-like pattern without using clamp function
--> crates/kira/src/effect/distortion.rs:69:5
|
69 | output.left.max(-1.0).min(1.0),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with clamp: `output.left.clamp(-1.0, 1.0)`
|
= note: clamp will panic if max < min, min.is_nan(), or max.is_nan()
= note: clamp returns NaN if the input is NaN
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp
= note: `#[warn(clippy::manual_clamp)]` on by default
|
doc list item without indentation:
crates/kira/src/lib.rs#L170
warning: doc list item without indentation
--> crates/kira/src/lib.rs:170:1
|
170 | for Android compilation
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
170 | for Android compilation
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L168
warning: doc list item without indentation
--> crates/kira/src/lib.rs:168:1
|
168 | for people developing Kira itself.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
168 | for people developing Kira itself.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L167
warning: doc list item without indentation
--> crates/kira/src/lib.rs:167:1
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
167 | to cause panics if memory is allocated or deallocated on the audio thread. This is mainly useful
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L141
warning: doc list item without indentation
--> crates/kira/src/lib.rs:141:1
|
141 | audio formats, like MP3 and WAV.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
141 | audio formats, like MP3 and WAV.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L139
warning: doc list item without indentation
--> crates/kira/src/lib.rs:139:1
|
139 | users should leave this enabled.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
139 | users should leave this enabled.
| ++
|
doc list item without indentation:
crates/kira/src/lib.rs#L138
warning: doc list item without indentation
--> crates/kira/src/lib.rs:138:1
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
138 | audio managers. This allows Kira to talk to the operating system to output audio. Most
| ++
|