Skip to content

Commit

Permalink
Code formatting and matching docs to code
Browse files Browse the repository at this point in the history
  • Loading branch information
joemasilotti committed Nov 15, 2023
1 parent 9af2638 commit 267cb26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import UIKit
/// func handle(proposal: VisitProposal) -> ProposalResult {
/// switch proposal.viewController {
/// case RecipeViewController.pathConfigurationIdentifier:
/// return .accept(RecipeViewController.new)
/// return .acceptCustom(RecipeViewController.new)
/// default:
/// return .accept
/// }
Expand Down
4 changes: 2 additions & 2 deletions Source/TurboError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public enum TurboError: LocalizedError, Equatable {
case contentTypeMismatch
case pageLoadFailure
case http(statusCode: Int)

init(statusCode: Int) {
switch statusCode {
case 0:
Expand All @@ -20,7 +20,7 @@ public enum TurboError: LocalizedError, Equatable {
self = .http(statusCode: statusCode)
}
}

public var errorDescription: String? {
switch self {
case .networkFailure:
Expand Down

0 comments on commit 267cb26

Please sign in to comment.