Browse Source

Update fiber.md

Marco Bambini 7 years ago
parent
commit
abe3b5919a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/fiber.md

+ 2 - 2
docs/fiber.md

@@ -27,14 +27,14 @@ A Fiber is created with `create`:
 
 
 ```swift
 ```swift
 	Fiber.create( {
 	Fiber.create( {
-		System.print("/(self) is the current fiber")
+		System.print("\(self) is the current fiber")
 	})
 	})
 ```
 ```
 and executed till the next `yield` with `fiber.call()`
 and executed till the next `yield` with `fiber.call()`
 
 
 ```swift
 ```swift
 var closure = {
 var closure = {
-	System.print("1")
+    System.print("1")
     Fiber.yield()
     Fiber.yield()
 
 
     System.print("2")
     System.print("2")