Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a9f7069

Browse files
committedNov 29, 2016
Update num-derive to work with latest rustc
See rust-num/num#240
1 parent b64386c commit a9f7069

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed
 

‎Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ git = "https://github.com/servo/rust-core-foundation"
4747

4848
[dependencies]
4949
num = "*"
50-
num-derive = "*"
50+
num-derive = "0.1.38"
5151
time = "*"
5252
byteorder = "*"
5353

‎containers/mkv.rs

-1
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,6 @@ impl<'a> BlockFrame<'a> {
613613
}
614614
}
615615

616-
#[proc_macro_derive(FromPrimitive)]
617616
#[derive(Clone, Copy, Debug, FromPrimitive, PartialEq)]
618617
pub enum TrackType {
619618
Video = 1,

‎example/Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.