diff --git a/_images/senta-que-la-vem-historia.gif b/_images/senta-que-la-vem-historia.gif new file mode 100644 index 0000000..7afa525 Binary files /dev/null and b/_images/senta-que-la-vem-historia.gif differ diff --git a/porque-rust.html b/porque-rust.html index bd4d043..e2793a3 100644 --- a/porque-rust.html +++ b/porque-rust.html @@ -392,7 +392,7 @@ enum Result<T, E> {

-File::create("something.txt") match {
+match File::create("something.txt") {
     Ok(fp) => fp.write_all(b"Hello world"),
     Err(err) => println!("Failure! {}", err),
 }
@@ -401,8 +401,8 @@ File::create("something.txt") match {
 
                     

-File::create("something.txt") match {
-    Ok(fp) => fp.write_all(b"Hello world") match {
+match File::create("something.txt") {
+    Ok(fp) => match fp.write_all(b"Hello world") {
         Ok(_) => (),
         Err(err) => println!("Can't write! {}", err),
     }
@@ -433,6 +433,28 @@ OK(())
                     
+
+
+

Hora da anedota!

+ + +
+ +
+

localtime

+ +

SimpleDateFormatter

+
+ +
+

Rust resolveria isso?

+ +

Não

+ +

... na verdade, nem ia compilar.

+
+
+

Crazy stuff