I created a Default impl for Synclist, which enables to impl Default on structs where it is embedded.
I'm sorry the diff is a bit messy because my editor automagically runs rustfmt, so there are (too) many whitespaces changes.
Note that, as per the API Guidelines I left new() in place, so I redirected default to it.
I created a
Default
impl forSynclist
, which enables toimpl Default
on structs where it is embedded.I'm sorry the diff is a bit messy because my editor automagically runs rustfmt, so there are (too) many whitespaces changes.
Note that, as per the API Guidelines I left
new()
in place, so I redirecteddefault
to it.