Skip to content

Commit

Permalink
Merge af4ffff into fdee158
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpratt committed Aug 12, 2020
2 parents fdee158 + af4ffff commit 82552f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ macro_rules! crate_version {
macro_rules! crate_authors {
($sep:expr) => {{
use std::ops::Deref;
#[allow(deprecated)]
use std::sync::{Once, ONCE_INIT};

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

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

Expand Down

0 comments on commit 82552f0

Please sign in to comment.