Commit bbef92c1 authored by Florin Pățan's avatar Florin Pățan Committed by Wouter van Oortmerssen

Reword comment so that code editors can mark deprecation correctly (#4147)

parent 3f936c56
......@@ -10,7 +10,7 @@ type Table struct {
// Offset provides access into the Table's vtable.
//
// Deprecated fields are ignored by checking against the vtable's length.
// Fields which are deprecated are ignored by checking against the vtable's length.
func (t *Table) Offset(vtableOffset VOffsetT) VOffsetT {
vtable := UOffsetT(SOffsetT(t.Pos) - t.GetSOffsetT(t.Pos))
if vtableOffset < t.GetVOffsetT(vtable) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment