fix documentation warnings

This commit is contained in:
Weird Constructor 2021-07-18 19:15:06 +02:00
parent 1a5427ae87
commit 888205b3ef
2 changed files with 2 additions and 1 deletions

View file

@ -82,6 +82,7 @@ pub fn fast_sin(x: f32) -> f32 {
/// Don't forget to call [init_white_noise_tab] before using it. /// Don't forget to call [init_white_noise_tab] before using it.
static mut WHITE_NOISE_TAB: [f64; 1024] = [0.0; 1024]; static mut WHITE_NOISE_TAB: [f64; 1024] = [0.0; 1024];
#[allow(rustdoc::private_intra_doc_links)]
/// Initializes [WHITE_NOISE_TAB]. /// Initializes [WHITE_NOISE_TAB].
pub fn init_white_noise_tab() { pub fn init_white_noise_tab() {
let mut rng = RandGen::new(); let mut rng = RandGen::new();

View file

@ -302,7 +302,7 @@ pub struct Matrix {
/// using [Matrix::set_prop] and [Matrix::get_prop]. /// using [Matrix::set_prop] and [Matrix::get_prop].
properties: HashMap<String, SAtom>, properties: HashMap<String, SAtom>,
/// 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 /// 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 /// by [Matrix::param_input_is_used] to return whether a parameter is
/// controlled by some output port. /// controlled by some output port.