Fix module-level docstring in asteroids & config

I made a comment to help me remember the purpose, but if I do it this
way `cargo doc` will render it out to the actual documentation.
This commit is contained in:
2025-08-09 14:54:15 -05:00
parent 73b97ad15c
commit 3d0da6df2d
2 changed files with 5 additions and 6 deletions

View File

@@ -1,9 +1,10 @@
//! This is the module containing all the rock-related things.
//! Not... not the whole game.
use bevy_rapier2d::prelude::*;
use rand::{Rng, SeedableRng};
use std::time::Duration;
/// This is the module containing all the rock-related things
/// not... not the whole game.
use bevy::prelude::*;
use crate::{GameAssets, Rotation, WorldSize, physics::Position, physics::Velocity};

View File

@@ -1,7 +1,5 @@
/*
Global constants used all over the program. Rather than leaving them scattered
where ever they happen to be needed, I'm concentrating them here.
*/
//! Global constants used all over the program. Rather than leaving them scattered
//! where ever they happen to be needed, I'm concentrating them here.
use bevy::color::Color;