std: Remove Zero impl for Option
Options are not numeric types, so it doesn't make sense for them to implement Zero.
This commit is contained in:
parent
43aba856b4
commit
f107718a9b
2 changed files with 0 additions and 6 deletions
|
|
@ -24,7 +24,6 @@ struct E { a: int, b: int }
|
|||
|
||||
#[deriving(Zero)]
|
||||
struct Lots {
|
||||
c: Option<util::NonCopyable>,
|
||||
d: u8,
|
||||
e: char,
|
||||
f: float,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue