Skip to content

Commit 95b13bd

Browse files
committed
Fix redundant link targets - make pre-commit happy
This is now made a warning in rust 1.73
1 parent e716038 commit 95b13bd

15 files changed

+16
-18
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ pub(crate) fn assert_valid_number_of_channels(number_of_channels: usize) {
185185
}
186186

187187
/// Assert that the given channel number is valid according the number of channel
188-
/// of an Audio asset (e.g. [`AudioBuffer`](crate::buffer::AudioBuffer))
188+
/// of an Audio asset (e.g. [`AudioBuffer`])
189189
///
190190
/// # Panics
191191
///

src/node/analyser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl Default for AnalyserOptions {
4444
///
4545
/// - MDN documentation: <https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode>
4646
/// - specification: <https://webaudio.github.io/web-audio-api/#AnalyserNode>
47-
/// - see also: [`BaseAudioContext::create_analyser`](crate::context::BaseAudioContext::create_analyser)
47+
/// - see also: [`BaseAudioContext::create_analyser`]
4848
///
4949
/// # Usage
5050
///

src/node/audio_buffer_source.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ enum ControlMessage {
7676
///
7777
/// - MDN documentation: <https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode>
7878
/// - specification: <https://webaudio.github.io/web-audio-api/#AudioBufferSourceNode>
79-
/// - see also: [`BaseAudioContext::create_buffer_source`](crate::context::BaseAudioContext::create_buffer_source)
79+
/// - see also: [`BaseAudioContext::create_buffer_source`]
8080
///
8181
/// # Usage
8282
///

src/node/biquad_filter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ impl Default for BiquadFilterOptions {
257257
///
258258
/// - MDN documentation: <https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode>
259259
/// - specification: <https://webaudio.github.io/web-audio-api/#BiquadFilterNode>
260-
/// - see also: [`BaseAudioContext::create_biquad_filter`](crate::context::BaseAudioContext::create_biquad_filter)
260+
/// - see also: [`BaseAudioContext::create_biquad_filter`]
261261
///
262262
/// # Usage
263263
///

src/node/constant_source.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ enum Schedule {
4040
///
4141
/// - MDN documentation: <https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode>
4242
/// - specification: <https://webaudio.github.io/web-audio-api/#ConstantSourceNode>
43-
/// - see also: [`BaseAudioContext::create_constant_source`](crate::context::BaseAudioContext::create_constant_source)
43+
/// - see also: [`BaseAudioContext::create_constant_source`]
4444
///
4545
/// # Usage
4646
///

src/node/convolver.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ pub struct ConvolverOptions {
7070
///
7171
/// - MDN documentation: <https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNode>
7272
/// - specification: <https://webaudio.github.io/web-audio-api/#ConvolverNode>
73-
/// - see also:
74-
/// [`BaseAudioContext::create_convolver`](crate::context::BaseAudioContext::create_convolver)
73+
/// - see also: [`BaseAudioContext::create_convolver`]
7574
///
7675
/// The current implementation only handles mono-to-mono convolutions. The provided impulse
7776
/// response buffer and the input signal will be downmixed appropriately.

src/node/delay.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ struct PlaybackInfo {
4444
///
4545
/// - MDN documentation: <https://developer.mozilla.org/en-US/docs/Web/API/DelayNode>
4646
/// - specification: <https://webaudio.github.io/web-audio-api/#DelayNode>
47-
/// - see also: [`BaseAudioContext::create_delay`](crate::context::BaseAudioContext::create_delay)
47+
/// - see also: [`BaseAudioContext::create_delay`]
4848
///
4949
/// # Usage
5050
///

src/node/destination.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use super::{
1515
///
1616
/// - MDN documentation: <https://developer.mozilla.org/en-US/docs/Web/API/AudioDestinationNode>
1717
/// - specification: <https://webaudio.github.io/web-audio-api/#AudioDestinationNode>
18-
/// - see also: [`BaseAudioContext::destination`](crate::context::BaseAudioContext::destination)
18+
/// - see also: [`BaseAudioContext::destination`]
1919
///
2020
/// # Usage
2121
///

src/node/dynamics_compressor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl Default for DynamicsCompressorOptions {
6666
///
6767
/// - MDN documentation: <https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode>
6868
/// - specification: <https://webaudio.github.io/web-audio-api/#DynamicsCompressorNode>
69-
/// - see also: [`BaseAudioContext::create_dynamics_compressor`](crate::context::BaseAudioContext::create_dynamics_compressor)
69+
/// - see also: [`BaseAudioContext::create_dynamics_compressor`]
7070
///
7171
/// # Usage
7272
///

src/node/iir_filter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ pub struct IIRFilterOptions {
8383
///
8484
/// - MDN documentation: <https://developer.mozilla.org/en-US/docs/Web/API/IIRFilterNode>
8585
/// - specification: <https://webaudio.github.io/web-audio-api/#IIRFilterNode>
86-
/// - see also: [`BaseAudioContext::create_iir_filter`](crate::context::BaseAudioContext::create_iir_filter)
86+
/// - see also: [`BaseAudioContext::create_iir_filter`]
8787
///
8888
/// # Usage
8989
///

0 commit comments

Comments
 (0)