Fix some unused variable warnings

This commit is contained in:
Georg Semmler 2019-09-22 12:59:10 +02:00
parent 31b301219f
commit 3ee292021d
No known key found for this signature in database
GPG Key ID: A87BCEE5205CE489

View File

@ -5,11 +5,11 @@ pub trait Remote {
}
pub trait Remote1<T> {
fn foo(&self, t: T) { }
fn foo(&self, _t: T) { }
}
pub trait Remote2<T, U> {
fn foo(&self, t: T, u: U) { }
fn foo(&self, _t: T, _u: U) { }
}
pub struct Pair<T,U>(T,U);