Skip to content

Commit

Permalink
add new const_fn_trait_bound feature gate
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Apr 26, 2021
1 parent d763fca commit 6303b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lock_api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
#![no_std]
#![warn(missing_docs)]
#![warn(rust_2018_idioms)]
#![cfg_attr(feature = "nightly", feature(const_fn))]
#![cfg_attr(feature = "nightly", feature(const_fn, const_fn_trait_bound))]

#[macro_use]
extern crate scopeguard;
Expand Down

0 comments on commit 6303b54

Please sign in to comment.