mirror of
https://github.com/google/alioth.git
synced 2024-10-23 15:00:13 +00:00
c54724c20a
For a struct like
struct Foo {
path: PathBuf,
param: Option<String>,
}
to set `param` to `None`, it is more intuitive to write `path=foo`
than `path=foo,param=`. The latter looks more like setting `param` to
`Some("")`.
On the other hand, if the value is an id and the id points to an empty
string, it is interpreted as `None`.
Fixes:
|
||
---|---|---|
.. | ||
src | ||
Cargo.toml |