We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a40ab2 commit f82c4acCopy full SHA for f82c4ac
docs/source/quick_start.md
@@ -82,8 +82,8 @@ See the [Tutorial](tutorial.md) for a more in depth guide.
82
const Monster snowman = GetMonster(flatbuffer);
83
84
// Access the monster's fields directly.
85
- ASSERT_EQ(snowman.name(), "Abominable Snowman");
86
- ASSERT_EQ(snowman.health(), 100);
+ ASSERT_EQ(snowman->name(), "Abominable Snowman");
+ ASSERT_EQ(snowman->health(), 100);
87
```
88
89
See [`Rust` examples](https://github.com/google/flatbuffers/blob/master/samples/sample_binary.rs#L92-L106)
0 commit comments