From 888205b3efd0bf3f5a7a9ef378f4874b71f5c195 Mon Sep 17 00:00:00 2001 From: Weird Constructor Date: Sun, 18 Jul 2021 19:15:06 +0200 Subject: [PATCH] fix documentation warnings --- src/dsp/helpers.rs | 1 + src/matrix.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dsp/helpers.rs b/src/dsp/helpers.rs index d3dfd24..884744d 100644 --- a/src/dsp/helpers.rs +++ b/src/dsp/helpers.rs @@ -82,6 +82,7 @@ pub fn fast_sin(x: f32) -> f32 { /// Don't forget to call [init_white_noise_tab] before using it. static mut WHITE_NOISE_TAB: [f64; 1024] = [0.0; 1024]; +#[allow(rustdoc::private_intra_doc_links)] /// Initializes [WHITE_NOISE_TAB]. pub fn init_white_noise_tab() { let mut rng = RandGen::new(); diff --git a/src/matrix.rs b/src/matrix.rs index db2ab32..ce932da 100644 --- a/src/matrix.rs +++ b/src/matrix.rs @@ -302,7 +302,7 @@ pub struct Matrix { /// using [Matrix::set_prop] and [Matrix::get_prop]. properties: HashMap, - /// Stores the [dsp::ParamId] of the inputs that have an output + /// Stores the [crate::dsp::ParamId] of the inputs that have an output /// assigned to them. It's updates when [Matrix::edges] is updated and used /// by [Matrix::param_input_is_used] to return whether a parameter is /// controlled by some output port.