Skip to content

Commit 4afc982

Browse files
committed
Fix error wording in data-url and idna when missing alloc feature
1 parent 934edd4 commit 4afc982

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

data-url/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ extern crate std as _;
2424
extern crate alloc;
2525

2626
#[cfg(not(feature = "alloc"))]
27-
compile_error!("the `alloc` feature must currently be enabled");
27+
compile_error!("the `alloc` feature must be enabled");
2828

2929
use alloc::{string::String, vec::Vec};
3030

idna/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ extern crate std;
4040
extern crate alloc;
4141

4242
#[cfg(not(feature = "alloc"))]
43-
compile_error!("the `alloc` feature must currently be enabled");
43+
compile_error!("the `alloc` feature must be enabled");
4444

4545
#[cfg(test)]
4646
#[macro_use]

0 commit comments

Comments
 (0)