diff --git a/_images/Sorry-bout-that.gif b/_images/Sorry-bout-that.gif new file mode 100644 index 0000000..5fec08a Binary files /dev/null and b/_images/Sorry-bout-that.gif differ diff --git a/_images/builds-character.png b/_images/builds-character.png new file mode 100644 index 0000000..99d25b7 Binary files /dev/null and b/_images/builds-character.png differ diff --git a/porque-rust.html b/porque-rust.html index b9aed52..881753d 100644 --- a/porque-rust.html +++ b/porque-rust.html @@ -195,6 +195,34 @@ fn main() { +
+

+3 |     let a = 2;
+  |         -
+  |         |
+  |         first assignment to `a`
+  |         help: make this binding mutable: `mut a`
+4 |     a = 3;
+  |     ^^^^^ cannot assign twice to immutable variable
+                        
+
+ +
+

+3 |     let a = 2;
+  |         -
+  |         |
+  |         first assignment to `a`
+  |         help: make this binding mutable: `mut a`
+4 |     a = 3;
+  |     ^^^^^ cannot assign twice to immutable variable
+                        
+
+ +
+ +
+

 fn main() {
@@ -410,13 +438,17 @@ fn main() {
                     
- +
+
+ +
+
presente := Presente { ... }
 canal <- presente
@@ -450,10 +482,14 @@ presente.abrir()
-

E GC?

+

GC?

GC não é determinístico.

+ + (mas ainda tem um container que é um contador de refências) + +