We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
where
STR
pub struct Foo<A>(A); impl<A: Copy> Foo<A> { pub fn unwrap(&self) -> A { let &Foo(inner) = self; inner } } impl<A> Foo<A> where A: Copy { pub fn misdocumented_unwrap(&self) -> A { let &Foo(inner) = self; inner } }
Output:
Version:
rustc 0.12.0-pre (78ec3904b 2014-08-16 13:01:09 +0000)