fixed typos
This commit is contained in:
@@ -25,7 +25,7 @@ let result = map.pp()
|
|||||||
.mods(24) // HDHR
|
.mods(24) // HDHR
|
||||||
.combo(1234)
|
.combo(1234)
|
||||||
.misses(2)
|
.misses(2)
|
||||||
.accuracy(99.2)
|
.accuracy(99.2) // should be called last
|
||||||
.calculate();
|
.calculate();
|
||||||
|
|
||||||
println!("PP: {}", result.pp());
|
println!("PP: {}", result.pp());
|
||||||
|
|||||||
+1
-1
@@ -65,7 +65,7 @@ impl<'map> FruitsPP<'map> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Provide the result of previous a difficulty or performance calculation.
|
/// Provide the result of a previous difficulty or performance calculation.
|
||||||
/// If you already calculated the attributes for the current map-mod combination,
|
/// If you already calculated the attributes for the current map-mod combination,
|
||||||
/// be sure to put them in here so that they don't have to be recalculated.
|
/// be sure to put them in here so that they don't have to be recalculated.
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@
|
|||||||
//! .mods(24) // HDHR
|
//! .mods(24) // HDHR
|
||||||
//! .combo(1234)
|
//! .combo(1234)
|
||||||
//! .misses(2)
|
//! .misses(2)
|
||||||
//! .accuracy(99.2)
|
//! .accuracy(99.2) // should be called last
|
||||||
//! .calculate();
|
//! .calculate();
|
||||||
//!
|
//!
|
||||||
//! println!("PP: {}", result.pp());
|
//! println!("PP: {}", result.pp());
|
||||||
|
|||||||
+1
-1
@@ -51,7 +51,7 @@ impl<'map> ManiaPP<'map> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Provide the result of previous difficulty or performance calculation.
|
/// Provide the result of a previous difficulty or performance calculation.
|
||||||
/// If you already calculated the attributes for the current map-mod combination,
|
/// If you already calculated the attributes for the current map-mod combination,
|
||||||
/// be sure to put them in here so that they don't have to be recalculated.
|
/// be sure to put them in here so that they don't have to be recalculated.
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|||||||
+1
-1
@@ -65,7 +65,7 @@ impl<'map> OsuPP<'map> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Provide the result of previous difficulty or performance calculation.
|
/// Provide the result of a previous difficulty or performance calculation.
|
||||||
/// If you already calculated the attributes for the current map-mod combination,
|
/// If you already calculated the attributes for the current map-mod combination,
|
||||||
/// be sure to put them in here so that they don't have to be recalculated.
|
/// be sure to put them in here so that they don't have to be recalculated.
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ impl<'map> AnyPP<'map> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Provide the result of previous difficulty or performance calculation.
|
/// Provide the result of a previous difficulty or performance calculation.
|
||||||
/// If you already calculated the attributes for the current map-mod combination,
|
/// If you already calculated the attributes for the current map-mod combination,
|
||||||
/// be sure to put them in here so that they don't have to be recalculated.
|
/// be sure to put them in here so that they don't have to be recalculated.
|
||||||
#[inline]
|
#[inline]
|
||||||
@@ -143,8 +143,8 @@ impl<'map> AnyPP<'map> {
|
|||||||
|
|
||||||
/// Set the accuracy between 0.0 and 100.0.
|
/// Set the accuracy between 0.0 and 100.0.
|
||||||
///
|
///
|
||||||
/// For some modes this method depends on previously set values
|
/// For some modes this method depends on previously set values.
|
||||||
/// be sure to call this last before calling `calculate`.
|
/// Be sure to call this last before calling `calculate`.
|
||||||
///
|
///
|
||||||
/// Irrelevant for osu!mania.
|
/// Irrelevant for osu!mania.
|
||||||
#[allow(unused_variables)]
|
#[allow(unused_variables)]
|
||||||
@@ -254,7 +254,7 @@ impl<'map> AnyPP<'map> {
|
|||||||
|
|
||||||
/// Specify the amount of katus of a play.
|
/// Specify the amount of katus of a play.
|
||||||
///
|
///
|
||||||
/// This value is only relevant for osu!ctb for which it represent
|
/// This value is only relevant for osu!ctb for which it represents
|
||||||
/// the amount of tiny droplet misses.
|
/// the amount of tiny droplet misses.
|
||||||
#[allow(unused_variables)]
|
#[allow(unused_variables)]
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|||||||
+1
-1
@@ -62,7 +62,7 @@ impl<'map> TaikoPP<'map> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Provide the result of previous difficulty or performance calculation.
|
/// Provide the result of a previous difficulty or performance calculation.
|
||||||
/// If you already calculated the attributes for the current map-mod combination,
|
/// If you already calculated the attributes for the current map-mod combination,
|
||||||
/// be sure to put them in here so that they don't have to be recalculated.
|
/// be sure to put them in here so that they don't have to be recalculated.
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|||||||
Reference in New Issue
Block a user