Skip to content

Commit

Permalink
Delete stale comment (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
macdrevx authored Feb 1, 2024
1 parent 7dc87f3 commit 321822f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Sources/SwiftGumbo/SwiftGumbo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@ public class SwiftGumbo {
let outputResult = withUnsafePointer(to: options) { (optionsPointer) -> UnsafeMutablePointer<GumboOutput> in
gumbo_parse_with_options(optionsPointer, htmlBuffer, htmlBuffer.count)
}

self.htmlBuffer = htmlBuffer

// Safe to force try here since the outputResult only returns success.
self.gumboOutput = outputResult

self.status = outputResult.pointee.status
}

Expand Down

0 comments on commit 321822f

Please sign in to comment.