Skip to content

Commit

Permalink
fix typo in tutorial (#8476)
Browse files Browse the repository at this point in the history
  • Loading branch information
shynur authored Jan 10, 2025
1 parent 9a40ab2 commit f82c4ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ See the [Tutorial](tutorial.md) for a more in depth guide.
const Monster snowman = GetMonster(flatbuffer);
// Access the monster's fields directly.
ASSERT_EQ(snowman.name(), "Abominable Snowman");
ASSERT_EQ(snowman.health(), 100);
ASSERT_EQ(snowman->name(), "Abominable Snowman");
ASSERT_EQ(snowman->health(), 100);
```
See [`Rust` examples](https://github.com/google/flatbuffers/blob/master/samples/sample_binary.rs#L92-L106)
Expand Down

0 comments on commit f82c4ac

Please sign in to comment.