slight clarification in documentation

This commit is contained in:
MaxOhn
2021-01-19 21:06:15 +01:00
parent f12a190d4f
commit 19782838e4
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -168,12 +168,12 @@ impl<'m> OsuPP<'m> {
self
}
/// Returns an object which contains the pp and [`DifficultyAttributes`](crate::fruits::DifficultyAttributes)
/// Returns an object which contains the pp and [`DifficultyAttributes`](crate::osu::DifficultyAttributes)
/// containing stars and other attributes.
///
/// `stars_func` will be used to calculate the difficulty attributes if not already given.
/// Only called if `attributes` was not set.
/// The default is suggested to be [`stars`](crate::osu::no_leniency::stars).
/// The default is suggested to be [`no_leniency::stars`](crate::osu::no_leniency::stars).
pub fn calculate(
mut self,
stars_func: impl FnOnce(&Beatmap, u32, Option<usize>) -> StarResult,