diff --git a/docs/source/Tutorial.md b/docs/source/Tutorial.md index e23068b60..14961b77f 100644 --- a/docs/source/Tutorial.md +++ b/docs/source/Tutorial.md @@ -485,8 +485,8 @@ The first step is to import/include the library, generated files, etc.
~~~{.lobster} - include from "../lobster/" // Where to find flatbuffers.lobster - include "monster_generated.lobster" + import from "../lobster/" // Where to find flatbuffers.lobster + import monster_generated ~~~
@@ -592,7 +592,7 @@ which will grow automatically if needed:
~~~{.lobster} - -- get access to the builder + // get access to the builder let builder = flatbuffers_builder {} ~~~
@@ -813,7 +813,7 @@ our `orc` Monster, lets create some `Weapon`s: a `Sword` and an `Axe`. let weapon_names = [ "Sword", "Axe" ] let weapon_damages = [ 3, 5 ] - weapon_offsets := map(weapon_names) name, i: + let weapon_offsets = map(weapon_names) name, i: let ns = builder.CreateString(name) builder.MyGame_Sample_WeaponStart() builder.MyGame_Sample_WeaponAddName(ns) @@ -2033,8 +2033,8 @@ import './monster_my_game.sample_generated.dart' as myGame;
~~~{.lobster} - include from "../lobster/" // Where to find flatbuffers.lobster - include "monster_generated.lobster" + import from "../lobster/" // Where to find flatbuffers.lobster + import monster_generated ~~~