doc: minor fixes
This commit is contained in:
+1
-1
@@ -434,7 +434,7 @@ impl<'map> OsuPP<'map> {
|
||||
/// [`OsuPP::new`].
|
||||
///
|
||||
/// Returns `None` only if the [`OsuAttributeProvider`] did not contain
|
||||
/// attributes for catch e.g. if it's [`DifficultyAttributes::Taiko`].
|
||||
/// attributes for osu e.g. if it's [`DifficultyAttributes::Taiko`].
|
||||
#[inline]
|
||||
pub fn try_from_attributes(attributes: impl OsuAttributeProvider) -> Option<Self> {
|
||||
attributes.attributes().map(Self::from)
|
||||
|
||||
+1
-1
@@ -378,7 +378,7 @@ impl<'map> TaikoPP<'map> {
|
||||
/// [`TaikoPP::new`].
|
||||
///
|
||||
/// Returns `None` only if the [`TaikoAttributeProvider`] did not contain
|
||||
/// attributes for catch e.g. if it's [`DifficultyAttributes::Mania`].
|
||||
/// attributes for taiko e.g. if it's [`DifficultyAttributes::Mania`].
|
||||
#[inline]
|
||||
pub fn try_from_attributes(attributes: impl TaikoAttributeProvider) -> Option<Self> {
|
||||
attributes.attributes().map(Self::from)
|
||||
|
||||
Reference in New Issue
Block a user