Skip to content

Commit

Permalink
Fix rust-1.28 feature name (should be rust_1.28).
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Oct 29, 2018
1 parent e051371 commit 246b8a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ default = [
]

# experimental; do not use; no guarantees provided that this feature will be kept
"rust-1.28" = []
"rust-1_28" = []

[[example]]
name = "packet2pcap"
Expand Down
4 changes: 2 additions & 2 deletions src/phy/loopback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ use std::vec::Vec;
use std::collections::VecDeque;
#[cfg(feature = "alloc")]
use alloc::vec::Vec;
#[cfg(all(feature = "alloc", not(feature = "rust-1.28")))]
#[cfg(all(feature = "alloc", not(feature = "rust-1_28")))]
use alloc::collections::VecDeque;
#[cfg(all(feature = "alloc", feature = "rust-1.28"))]
#[cfg(all(feature = "alloc", feature = "rust-1_28"))]
use alloc::VecDeque;

use Result;
Expand Down

0 comments on commit 246b8a2

Please sign in to comment.