Browse Source

Stupid generics

master
Julio Biason 5 years ago
parent
commit
a2126e9f42
  1. 2
      porque-rust.html

2
porque-rust.html

@ -819,7 +819,7 @@ struct Point<T> {
<h3>Structs Genéricas</h3>
<pre><code class="hljs rust" data-trim>
let my_point = Point<f32>(x: 1.0, y: 2.0);
let my_point = Point&lt;f32&gt;(x: 1.0, y: 2.0);
</code></pre>
</section>

Loading…
Cancel
Save