diff --git a/Cargo.toml b/Cargo.toml index 1d483a2..0a39e7d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "tinyvec" description = "Just, really the littlest Vec you could need. So smol." version = "0.0.1-alpha.0" authors = ["Lokathor "] -#edition = "2018" # until our min version is allowed to go up, 2015 it is. +edition = "2018" license = "Zlib" keywords = ["vec", "no_std", "smol"] categories = ["data-structures", "no-std"] diff --git a/src/lib.rs b/src/lib.rs index 53e675f..3ca3e0b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -23,7 +23,7 @@ enum Payload { /// A `TinyVec` is like a `Vec`, but it will store up to 8 elements /// "inline" on the stack before transitioning into being a normal `Vec`. #[derive(Debug, Clone)] -#[cfg_attr(feature = "rustc_28", repr(transparent))] +#[repr(transparent)] pub struct TinyVec(Payload); // TODO: impl a better Debug