Skip to content

Commit

Permalink
Clarify comments
Browse files Browse the repository at this point in the history
  • Loading branch information
olivaresf committed Mar 4, 2024
1 parent 6517e74 commit 10e5c90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Session/VisitOptionsHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ class VisitOptionsHandler {
func process(_ options: VisitOptions?) -> VisitOptions {

if let options, options.response?.responseHTML != nil {
/// Options are provided for the next visit.
/// A `responseHTML` is provided for the next visit.
unhandledVisitOptions = options
return options
} else if let unhandledVisitOptions {
/// Next visit is happening. Use the previous visit options.
/// Next visit is happening. Use the previous `responseHTML`.
self.unhandledVisitOptions = nil
return unhandledVisitOptions
} else {
Expand Down

0 comments on commit 10e5c90

Please sign in to comment.