Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Commit 3f32a31

Browse files
committed
Re-order features in compiler attribute
The rest of the code base uses the order "std", "alloc". Do the same in preparation for adding docs attributes.
1 parent 029d665 commit 3f32a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ pub fn format_hex_reverse(data: &[u8], f: &mut fmt::Formatter) -> fmt::Result {
204204
Ok(())
205205
}
206206

207-
#[cfg(any(test, feature = "alloc", feature = "std"))]
207+
#[cfg(any(test, feature = "std", feature = "alloc"))]
208208
impl ToHex for [u8] {
209209
fn to_hex(&self) -> String {
210210
use core::fmt::Write;

0 commit comments

Comments
 (0)