Skip to content

Conversation

nanne007
Copy link
Contributor

  1. Switch to purely namespaced enums rust-lang/rust#18973 made a change to enum namespacing, which causes a build error.
  2. num::abs method no longer exists, use SignedInt.abs instead.
  3. Zero trait implementation for Duration is removed. Instead, use Duration.zero() directly.

@nanne007 nanne007 changed the title fix build errors caused by purely namespaced enums and druation trait changes fix build errors caused by purely namespaced enums and druation api changes Nov 26, 2014
@fantix
Copy link
Member

fantix commented Nov 27, 2014

That's neat! Thanks for the fix!

fantix added a commit that referenced this pull request Nov 27, 2014
fix build errors caused by purely namespaced enums and druation api changes
@fantix fantix merged commit f8a1361 into zeromq:master Nov 27, 2014
@nanne007 nanne007 deleted the build-error-fixed branch November 27, 2014 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants