Created
December 27, 2014 00:55
-
-
Save tupshin/8ed63587d7e4b151b944 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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