fix doctests
This commit is contained in:
@@ -39,7 +39,7 @@ use super::{
|
||||
/// .unchecked_into_converted::<Catch>();
|
||||
///
|
||||
/// let difficulty = Difficulty::new().mods(64); // DT
|
||||
/// let mut iter = CatchGradualDifficulty::new(&difficulty, &converted);
|
||||
/// let mut iter = CatchGradualDifficulty::new(difficulty, &converted);
|
||||
///
|
||||
/// // the difficulty of the map after the first hit object
|
||||
/// let attrs1 = iter.next();
|
||||
|
||||
@@ -29,7 +29,7 @@ use crate::{
|
||||
/// .unchecked_into_converted::<Catch>();
|
||||
///
|
||||
/// let difficulty = Difficulty::new().mods(64); // DT
|
||||
/// let mut gradual = CatchGradualPerformance::new(&difficulty, &converted);
|
||||
/// let mut gradual = CatchGradualPerformance::new(difficulty, &converted);
|
||||
/// let mut state = CatchScoreState::new(); // empty state, everything is on 0.
|
||||
///
|
||||
/// // The first 10 hitresults are only fruits
|
||||
|
||||
Reference in New Issue
Block a user