mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 20:49:41 +00:00
add zh/advanced-traits.md
This commit is contained in:
@ -17,7 +17,7 @@ Using of `Address` is much more clearable and convenient than `AsRef<[u8]> + Clo
|
||||
struct Container(i32, i32);
|
||||
|
||||
// USING associated types to re-implement trait Contains.
|
||||
// trait Container {
|
||||
// trait Contains {
|
||||
// type A;
|
||||
// type B;
|
||||
|
||||
|
Reference in New Issue
Block a user