blob: 95133a4584430b13fdaec66ee02b2511beb548d4 [file] [log] [blame]
// run-pass
#[derive(Debug)]
struct Pair<T, V> (T, V);
impl Pair<
&str,
isize
> {
fn say(&self) {
println!("{:?}", self);
}
}
fn main() {
let result = &Pair("shane", 1);
result.say();
}