mirror of https://github.com/rust-lang/book
parent
1c0fd73e4d
commit
2cd1b5593d
|
@ -118,7 +118,7 @@ the program. We want to ignore that and get to the next value, so first we call
|
||||||
value we want to put in the `query` field of `Config`. If `next` returns a
|
value we want to put in the `query` field of `Config`. If `next` returns a
|
||||||
`Some`, we use a `match` to extract the value. If it returns `None`, it means
|
`Some`, we use a `match` to extract the value. If it returns `None`, it means
|
||||||
not enough arguments were given and we return early with an `Err` value. We do
|
not enough arguments were given and we return early with an `Err` value. We do
|
||||||
the same thing for the `file_path` field.
|
the same thing for the `file_path` value.
|
||||||
|
|
||||||
### Making Code Clearer with Iterator Adaptors
|
### Making Code Clearer with Iterator Adaptors
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue