Skip to content

Commit 03f1db4

Browse files
committed
fix: test failing
1 parent 7540e89 commit 03f1db4

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

crates/hyperion/src/simulation/command.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,6 @@ pub fn add_command(world: &World, command: Command, parent: Entity) -> Entity {
2121
}
2222

2323
/// Entry point for defining commands using the DSL.
24-
///
25-
/// # Arguments
26-
///
27-
/// * `world` - A reference to the `World` where commands are being added.
28-
/// * `name` - The name of the command.
29-
/// * `f` - A closure that defines nested commands within this command.
30-
///
31-
/// # Example
32-
///
33-
/// ```rust
34-
/// cmd(&world, "start", |cmd| {
35-
/// cmd.argument("config", Parser::ConfigParser, None);
36-
/// cmd.literal("verbose", None);
37-
/// });
38-
/// ```
3924
pub fn cmd_with<'a, F>(world: &'a World, name: &str, f: F)
4025
where
4126
F: FnOnce(&mut CommandScope<'a>),

0 commit comments

Comments
 (0)