aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/global.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-05 17:29:12 +0900
committernsfisis <nsfisis@gmail.com>2026-05-05 17:29:12 +0900
commit49b0884701a84731652fc934d428932ff6029bd4 (patch)
tree7477029b8ed686b9b3b06d960cab2b54ba87b579 /crates/mozart/src/commands/global.rs
parent4623874d1c95414dcd5ae194d2561f2d98b40982 (diff)
downloadphp-mozart-49b0884701a84731652fc934d428932ff6029bd4.tar.gz
php-mozart-49b0884701a84731652fc934d428932ff6029bd4.tar.zst
php-mozart-49b0884701a84731652fc934d428932ff6029bd4.zip
chore: remove redundant comments
Diffstat (limited to 'crates/mozart/src/commands/global.rs')
-rw-r--r--crates/mozart/src/commands/global.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/crates/mozart/src/commands/global.rs b/crates/mozart/src/commands/global.rs
index 12b3a4e..1a8a5f8 100644
--- a/crates/mozart/src/commands/global.rs
+++ b/crates/mozart/src/commands/global.rs
@@ -10,8 +10,6 @@ pub struct GlobalArgs {
pub args: Vec<String>,
}
-// ─── Main entry point ────────────────────────────────────────────────────────
-
pub async fn execute(
args: &GlobalArgs,
cli: &super::Cli,
@@ -51,8 +49,6 @@ pub async fn execute(
Box::pin(crate::commands::execute(&new_cli)).await
}
-// ─── Helpers ─────────────────────────────────────────────────────────────────
-
fn append_global_options(cli: &super::Cli) -> Vec<String> {
let mut opts: Vec<String> = Vec::new();
@@ -95,8 +91,6 @@ fn append_global_options(cli: &super::Cli) -> Vec<String> {
opts
}
-// ─── Tests ────────────────────────────────────────────────────────────────────
-
#[cfg(test)]
mod tests {
use super::*;
@@ -107,8 +101,6 @@ mod tests {
Cli::try_parse_from(["mozart", "about"]).unwrap()
}
- // ── append_global_options tests ───────────────────────────────────────────
-
#[test]
fn test_append_global_options_empty() {
let cli = default_cli();