From a2126e9f42602212045bd3c0fe260bbf7ffbb375 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Tue, 24 Sep 2019 13:11:26 -0300 Subject: [PATCH] Stupid generics --- porque-rust.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/porque-rust.html b/porque-rust.html index a244829..5e230f0 100644 --- a/porque-rust.html +++ b/porque-rust.html @@ -819,7 +819,7 @@ struct Point<T> {

Structs Genéricas


-let my_point = Point(x: 1.0, y: 2.0);
+let my_point = Point<f32>(x: 1.0, y: 2.0);