doc: fixed broken doc links
This commit is contained in:
@@ -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
|
||||
///
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user