Updates swift docs for package management (#5883)

Small fix for the clear function
This commit is contained in:
mustiikhalil
2020-05-04 20:18:38 +03:00
committed by GitHub
parent e3cb07d321
commit 2e9a196734
2 changed files with 6 additions and 2 deletions

View File

@@ -75,8 +75,10 @@ public struct FlatBufferBuilder {
mutating public func clear() {
_minAlignment = 0
isNested = false
_bb.clear()
stringOffsetMap = [:]
_vtable = []
_vtables = []
_bb.clear()
}
/// Removes all the offsets from the VTable