mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-02-24 13:22:19 +08:00
10 lines
125 B
Rust
10 lines
125 B
Rust
unsafe trait Foo {
|
|
// methods go here
|
|
}
|
|
|
|
unsafe impl Foo for i32 {
|
|
// method implementations go here
|
|
}
|
|
|
|
fn main() {}
|