We use map_err below to // make the error values into String type let conf_str = read_config() .map_err(|e| format!("Failed to read config file: {}", e))?; ...
確定! 回上一頁