mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-10 14:53:30 -07:00
Apply suggestion from @oopsbagel
Co-authored-by: oopsbagel <99793478+oopsbagel@users.noreply.github.com>
This commit is contained in:
committed by
Markus Unterwaditzer
parent
3b44234ae1
commit
bb6135c682
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user