소스 검색

Remove trailing whitespace in snake.md (#512)

Mark Wiemer 7 달 전
부모
커밋
4ae8518141
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/en/tutorials/snake.md

+ 1 - 1
docs/en/tutorials/snake.md

@@ -130,7 +130,7 @@ Find the `update()` function in *snake.script* and change the code to the follow
 ```lua
 function update(self, dt)
     self.t = self.t + dt -- <1>
-    if self.t >= 1.0 / self.speed then -- <2>        
+    if self.t >= 1.0 / self.speed then -- <2>
         local head = self.segments[#self.segments] -- <3>
         local newhead = {x = head.x + self.dir.x, y = head.y + self.dir.y} -- <4>