Content deleted Content added
GreenC bot (talk | contribs) Reformat 2 archive links. Wayback Medic 2.5 |
m →Rust: unsubstantiated claim against C++ templates. |
||
Line 181:
=== Rust ===
A trait in Rust declares a set of methods that a type must implement.<ref>{{Cite web | url=http://gradebot.org/doc/ipur/trait.html | title=Traits - Introduction to Programming Using Rust}}</ref> Rust compilers require traits to be explicated, which ensures the safety of [[Generic programming|generics]] in Rust
<syntaxhighlight lang="rust">
|