Fix broken rustdoc links

This commit is contained in:
Robbert van der Helm
2022-03-27 03:32:45 +02:00
parent 5caca30f83
commit 47a96ee02b
6 changed files with 20 additions and 19 deletions

View File

@@ -11,7 +11,7 @@ use super::RawParamEvent;
const GRANULAR_DRAG_MULTIPLIER: f32 = 0.1;
/// A slider that integrates with NIH-plug's [`Param`] types. Use the
/// [`set_style()`][Self::set_style()] method to change how the value gets displayed.
/// [`set_style()`][ParamSliderExt::set_style()] method to change how the value gets displayed.
///
/// TODO: Handle scrolling for steps (and shift+scroll for smaller steps?)
/// TODO: We may want to add a couple dedicated event handlers if it seems like those would be
@@ -34,7 +34,7 @@ pub struct ParamSlider {
}
/// How the [`ParamSlider`] should display its values. Set this using
/// [`ParamSliderExt::slider_style()`].
/// [`ParamSliderExt::set_style()`].
#[derive(Debug, Clone, Copy, PartialEq, Eq, Data)]
pub enum ParamSliderStyle {
/// Visualize the offset from the default value for continuous parameters with a default value

View File

@@ -39,8 +39,6 @@ where
impl PeakMeter {
/// Creates a new [`PeakMeter`] for the given value in decibel, optionally holding the peak
/// value for a certain amount of time.
///
/// See [`PeakMeterExt`] for additonal options.
pub fn new<L>(
cx: &mut Context,
level_dbfs: L,