Apply suggestion from @oopsbagel

Co-authored-by: oopsbagel <99793478+oopsbagel@users.noreply.github.com>
This commit is contained in:
Markus Unterwaditzer
2025-11-17 10:40:23 +01:00
committed by Markus Unterwaditzer
parent 3b44234ae1
commit bb6135c682
-9
View File
@@ -285,15 +285,6 @@ async fn run(args: Args) -> Result<(), Error> {
pub type OutputCallback = Box<dyn Fn(&str) + Send + Sync>;
/// Run the installer with CLI arguments and optional output callback
///
/// # Arguments
/// * `args` - Command-line arguments (including program name as `args[0]`)
/// * `callback` - Optional function to receive stdout/stderr output
///
/// # Returns
/// * `Ok(())` on success
/// * `Err(anyhow::Error)` on failure with full error context
///
/// # Example
/// ```no_run
/// use installer;