1
Fork 0

Fix some warnings

This commit is contained in:
bjorn3 2019-02-06 18:49:59 +01:00
parent 059b589407
commit 43f4dc6220
3 changed files with 7 additions and 7 deletions

View file

@ -103,8 +103,8 @@ struct Unique<T: ?Sized> {
impl<T: ?Sized, U: ?Sized> CoerceUnsized<Unique<U>> for Unique<T> where T: Unsize<U> {}
fn take_f32(f: f32) {}
fn take_unique(u: Unique<()>) {}
fn take_f32(_f: f32) {}
fn take_unique(_u: Unique<()>) {}
fn main() {
take_unique(Unique {