about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-02-22 17:50:18 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2019-02-22 17:50:18 +0100
commitfda51c2fbd0c646af5c5356dba2ad59d2c8ea8f8 (patch)
tree2733f74e81f1e4a48a58555e6053a6df05d8f073
parent0ab2aedb7f08e7f14946769110cfd436622fcf5e (diff)
Update RELEASES.md
-rw-r--r--RELEASES.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/RELEASES.md b/RELEASES.md
index 7812fbb6128..841467b69c9 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -22,20 +22,20 @@ Language
       let state = Creature::Crab("Ferris");
 
       if let Creature::Crab(name) | Creature::Person(name) = state {
-        println!("This creature's name is: {}", name);
+          println!("This creature's name is: {}", name);
       }
   }
   ```
 - [You can now have irrefutable `if let` and `while let` patterns.][57535] Using
   this feature will by default produce a warning as this behaviour can be
   unintuitive. E.g. `if let _ = 5 {}`
-- [You can now use `let` bindings, assignments, expression statements, and pattern destructuring in
-  const functions.][57175]
+- [You can now use `let` bindings, assignments, expression statements,
+  and irrefutable pattern destructuring in const functions.][57175]
 - [You can now call unsafe const functions.][57067] E.g.
   ```rust
   const unsafe fn foo() -> i32 { 5 }
   const fn bar() -> i32 {
-    unsafe { foo() }
+      unsafe { foo() }
   }
   ```
 - [You can now specify multiple attributes in a `cfg_attr` attribute.][57332]