https://doc.rust-lang.org/src/alloc/vec/spec_from_iter.rs.html#35 这行的default怎么解释?
Ext Link: https://doc.rust-lang.org/src/alloc/vec/spec_from_iter.rs.html#35
1
共 2 条评论, 1 页
https://doc.rust-lang.org/src/alloc/vec/spec_from_iter.rs.html#35 这行的default怎么解释?
评论区
写评论泛型特化 Specialization
https://users.rust-lang.org/t/what-is-the-default-keyword-means-in-rust/57448
https://github.com/rust-lang/rfcs/blob/master/text/1210-impl-specialization.md