fix doctests
This commit is contained in:
@@ -33,7 +33,7 @@ use super::{
|
||||
/// .unchecked_into_converted();
|
||||
///
|
||||
/// let difficulty = Difficulty::new().mods(64); // DT
|
||||
/// let mut iter = ManiaGradualDifficulty::new(&difficulty, &converted);
|
||||
/// let mut iter = ManiaGradualDifficulty::new(difficulty, &converted);
|
||||
///
|
||||
/// // the difficulty of the map after the first hit object
|
||||
/// let attrs1 = iter.next();
|
||||
|
||||
@@ -28,7 +28,7 @@ use super::{ManiaPerformanceAttributes, ManiaScoreState};
|
||||
/// .unchecked_into_converted::<Mania>();
|
||||
///
|
||||
/// let difficulty = Difficulty::new().mods(64); // DT
|
||||
/// let mut gradual = ManiaGradualPerformance::new(&difficulty, &converted);
|
||||
/// let mut gradual = ManiaGradualPerformance::new(difficulty, &converted);
|
||||
/// let mut state = ManiaScoreState::new(); // empty state, everything is on 0.
|
||||
///
|
||||
/// // The first 10 hitresults are 320s
|
||||
|
||||
Reference in New Issue
Block a user