Skip to content

Commit

Permalink
Merge 147c58e into 7127653
Browse files Browse the repository at this point in the history
  • Loading branch information
Xandkeeper committed Jun 26, 2020
2 parents 7127653 + 147c58e commit 7afaee4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ macro_rules! crate_version {
macro_rules! crate_authors {
($sep:expr) => {{
use std::ops::Deref;
use std::sync::{Once, ONCE_INIT};
use std::sync::Once;

#[allow(missing_copy_implementations)]
#[allow(dead_code)]
Expand All @@ -479,7 +479,7 @@ macro_rules! crate_authors {

#[allow(unsafe_code)]
fn deref(&self) -> &'static str {
static ONCE: Once = ONCE_INIT;
static ONCE: Once = Once::new();
static mut VALUE: *const String = 0 as *const String;

unsafe {
Expand Down

0 comments on commit 7afaee4

Please sign in to comment.