Resolve all warnings.
This commit is contained in:
parent
86d009fb4c
commit
96e7085e37
10 changed files with 92 additions and 86 deletions
|
|
@ -28,6 +28,12 @@ impl<R: Rng> StanfordDragon<R> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<R: Rng> Default for StanfordDragon<R> {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl<R: Rng + 'static> ExampleScene<R> for StanfordDragon<R> {
|
||||
fn get_scene(&self) -> Box<dyn Scene<R> + Sync> {
|
||||
let s = self.scene.get_or_init(|| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue