Skip to content

Commit

Permalink
Merge pull request #38 from de-vri-es/fix-warnings
Browse files Browse the repository at this point in the history
Fix warnings
  • Loading branch information
de-vri-es authored Jan 1, 2025
2 parents c8a1c66 + 416042a commit dceb161
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions assert2-macros/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use rustc_version::{version_meta, Channel};

fn main() {
println!("cargo:rustc-check-cfg=cfg(nightly)");
if version_meta().unwrap().channel <= Channel::Nightly {
println!("cargo:rustc-cfg=nightly");
}
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![cfg_attr(feature = "doc-cfg", feature(doc_cfg))]
#![allow(clippy::needless_lifetimes)]

//! All-purpose [`assert!(...)`](macro.assert.html) and [`check!(...)`](macro.check.html) macros, inspired by [Catch2](https://github.com/catchorg/Catch2).
Expand Down

0 comments on commit dceb161

Please sign in to comment.