doc: fixed broken doc links

This commit is contained in:
MaxOhn
2023-11-08 22:06:15 +01:00
parent 1434e88cef
commit a9a7cd507e
16 changed files with 31 additions and 46 deletions
+3 -3
View File
@@ -21,12 +21,12 @@ use super::{
/// Gradually calculate the difficulty attributes of an osu!standard map.
///
/// Note that this struct implements [`Iterator`](std::iter::Iterator).
/// On every call of [`Iterator::next`](std::iter::Iterator::next), the map's next hit object will
/// Note that this struct implements [`Iterator`].
/// On every call of [`Iterator::next`], the map's next hit object will
/// be processed and the [`OsuDifficultyAttributes`] will be updated and returned.
///
/// If you want to calculate performance attributes, use
/// [`OsuGradualPerformanceAttributes`](crate::osu::OsuGradualPerformance) instead.
/// [`OsuGradualPerformance`](crate::osu::OsuGradualPerformance) instead.
///
/// # Example
///
+2 -3
View File
@@ -6,10 +6,9 @@ use super::{OsuGradualDifficulty, OsuPerformanceAttributes, OsuScoreState};
/// Gradually calculate the performance attributes of an osu!standard map.
///
/// After each hit object you can call [`next`](`OsuGradualPerformanceAttributes::next`)
/// After each hit object you can call [`next`](`OsuGradualPerformance::next`)
/// and it will return the resulting current [`OsuPerformanceAttributes`].
/// To process multiple objects at once, use
/// [`nth`](`OsuGradualPerformanceAttributes::nth`) instead.
/// To process multiple objects at once, use [`nth`](`OsuGradualPerformance::nth`) instead.
///
/// Both methods require an [`OsuScoreState`] that contains the current
/// hitresults as well as the maximum combo so far.
-2
View File
@@ -1,7 +1,5 @@
/// Aggregation for a score's current state i.e. what was the
/// maximum combo so far and what are the current hitresults.
///
/// This struct is used for [`OsuGradualPerformanceAttributes`](crate::osu::OsuGradualPerformance).
#[derive(Clone, Debug, Default, Eq, PartialEq)]
pub struct OsuScoreState {
/// Maximum combo that the score has had so far.