• H
    getopts: format failure messages with `Show`. · 0642cbbd
    Huon Wilson 提交于
    This obsoletes the old `to_err_msg` method. Replace
    
        println!("Error: {}", failure.to_err_msg())
    
        let string = failure.to_err_msg();
    
    with
    
        println!("Error: {}", failure)
    
        let string = failure.to_str();
    
    [breaking-change]
    0642cbbd
mod.rs 14.0 KB