
    let config = Config::new(env::args()).unwrap_or_else(|err| {
        eprintln!(&quot;Problem parsing arguments: {}&quot;, err);
        process::exit(1);
    });

    // --snip--
}</code></pre>
<!--
<span class="caption">Listing 13-25: Passing the return value of `env::args` to
`Config::new`</span>
-->
<p><span class="caption">リスト13-25: <code>env::args</code>の戻り値を<code>Config::new</code>に渡す</span></p>
<!--
The `env::args` function returns an iterator! Rather than collecting the
it