Skip to content

Commit

Permalink
Merge pull request #206 from TheBotlyNoob/master
Browse files Browse the repository at this point in the history
remove redundant code
  • Loading branch information
KodrAus committed Jun 16, 2024
2 parents 6ace970 + fb43d94 commit 2660041
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,20 +97,15 @@ This crate provides one cargo feature:
#![doc(html_root_url = "https://docs.rs/lazy_static/1.5.0")]
#![no_std]

#[cfg(not(feature = "spin_no_std"))]
#[path = "inline_lazy.rs"]
#[doc(hidden)]
pub mod lazy;

#[cfg(doctest)]
#[macro_use]
extern crate doc_comment;

#[cfg(doctest)]
doctest!("../README.md");

#[cfg(feature = "spin_no_std")]
#[path = "core_lazy.rs"]
#[cfg_attr(feature = "spin_no_std", path = "core_lazy.rs")]
#[cfg_attr(not(feature = "spin_no_std"), path = "inline_lazy.rs")]
#[doc(hidden)]
pub mod lazy;

Expand Down

0 comments on commit 2660041

Please sign in to comment.