Explorar el Código

Fix slight Markdown mishap in chapter 7

Marius Gedminas hace 5 años
padre
commit
0d3905f021
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      book/src/chapter_7.md

+ 2 - 2
book/src/chapter_7.md

@@ -149,7 +149,7 @@ Now we'll make a new component, `BlocksTile`. You should know the drill by now;
 ```rust
 #[derive(Component, Debug)]
 pub struct BlocksTile {}
-```rust
+```
 
 Then register it in `main.rs`: `gs.ecs.register::<BlocksTile>();`
 
@@ -759,4 +759,4 @@ That was quite the chapter! We added in location indexing, damage, and killing t
 
 Copyright (C) 2019, Herbert Wolverson.
 
----
+---