mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 01:25:15 +00:00
5 lines
98 B
Rust
5 lines
98 B
Rust
pub trait Me {
|
|
fn me(&self) -> usize;
|
|
}
|
|
impl Me for usize { fn me(&self) -> usize { *self } }
|