Skip to content

Commit

Permalink
Fix build on nightly (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrochenkov authored and phil-opp committed Jul 8, 2017
1 parent 32a6b22 commit 1f41df4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ extern crate std;

// Re-export libcore using an alias so that the macros can work in no_std
// crates while remaining compatible with normal crates.
#[allow(private_in_public)]
#[doc(hidden)]
pub use core as __core;
pub extern crate core as __core;

/** This macro can be used to ensure that a function is called only once. It panics if the function
is called a second time.
Expand Down

0 comments on commit 1f41df4

Please sign in to comment.