Skip to content

Instantly share code, notes, and snippets.

@tupshin
Created December 27, 2014 00:55
Show Gist options
  • Save tupshin/8ed63587d7e4b151b944 to your computer and use it in GitHub Desktop.
Save tupshin/8ed63587d7e4b151b944 to your computer and use it in GitHub Desktop.
pub type Body = [u8];
pub trait BodyBuilder{}
impl BodyBuilder for Body {}
pub struct Body2 {body:[u8]}
pub trait BodyBuilder2{}
impl BodyBuilder2 for Body2 {}
both fail with
the trait `core::kinds::Sized` is not implemented for the type `[u8]`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment