Skip to content

Commit f82c4ac

Browse files
authored
fix typo in tutorial (#8476)
1 parent 9a40ab2 commit f82c4ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/quick_start.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ See the [Tutorial](tutorial.md) for a more in depth guide.
8282
const Monster snowman = GetMonster(flatbuffer);
8383
8484
// Access the monster's fields directly.
85-
ASSERT_EQ(snowman.name(), "Abominable Snowman");
86-
ASSERT_EQ(snowman.health(), 100);
85+
ASSERT_EQ(snowman->name(), "Abominable Snowman");
86+
ASSERT_EQ(snowman->health(), 100);
8787
```
8888
8989
See [`Rust` examples](https://github.com/google/flatbuffers/blob/master/samples/sample_binary.rs#L92-L106)

0 commit comments

Comments
 (0)