pub async fn run_stdin(config: &Config) -> Result<(), Error> {
    let mut contents = String::new();
    io::stdin()
        .read_to_string(&mut contents)
        .err_ctx("reading <stdin>")?;
    run_string(config, "<stdin>", &contents).await
}
/// Runs a testdrive script from the standard input.
Runs a testdrive script from the standard input.
Runs a testdrive script from the standard input .
pub async fn run_stdin(config: &Config) -> Result<(), Error> {
    let mut contents = String::new();
    io::stdin()
        .read_to_string(&mut contents)
        .err_ctx("reading <stdin>")?;
    run_string(config, "<stdin>", &contents).await
}
pub async fn run_stdin ( config : & Config ) -> Result < ( ) , Error > { let mut contents = String :: new ( ) ; io :: stdin ( ) . read_to_string ( & mut contents ) . err_ctx ( " " ) ? ; run_string ( config , " " , & contents ) . await }
Runs a testdrive script from the standard input.
Runs a testdrive script from the standard input .
config
&Config
config
&Config