From a9f31e192daa2de457134051cf80e0bcdf2096fd Mon Sep 17 00:00:00 2001 From: Shute052 Date: Mon, 29 Apr 2024 09:00:06 +0800 Subject: [PATCH] Fix docs --- src/input_processing/dual_axis/mod.rs | 2 +- src/input_processing/single_axis/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input_processing/dual_axis/mod.rs b/src/input_processing/dual_axis/mod.rs index d721b018..25a94bcc 100644 --- a/src/input_processing/dual_axis/mod.rs +++ b/src/input_processing/dual_axis/mod.rs @@ -54,7 +54,7 @@ pub enum DualAxisProcessor { /// one for the current step and the other for the next step. /// /// For a straightforward creation of a [`DualAxisProcessor::Pipeline`], - /// you can use [`DualAxisProcessor::with_processor`] or [`From>::from`] methods. + /// you can use [`DualAxisProcessor::with_processor`] or [`FromIterator::from_iter`] methods. /// /// ```rust /// use std::sync::Arc; diff --git a/src/input_processing/single_axis/mod.rs b/src/input_processing/single_axis/mod.rs index de109164..c3f4a6b4 100644 --- a/src/input_processing/single_axis/mod.rs +++ b/src/input_processing/single_axis/mod.rs @@ -61,7 +61,7 @@ pub enum AxisProcessor { /// Processes input values sequentially through a sequence of [`AxisProcessor`]s. /// /// For a straightforward creation of a [`AxisProcessor::Pipeline`], - /// you can use [`AxisProcessor::with_processor`] or [`From>::from`] methods. + /// you can use [`AxisProcessor::with_processor`] or [`FromIterator::from_iter`] methods. /// /// ```rust /// use std::sync::Arc;