Skip to content

Commit

Permalink
Add public access modifier to init method.
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerluan committed Jun 13, 2021
1 parent 2fe1e53 commit 35b0e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/JSEN.swift
Expand Up @@ -19,7 +19,7 @@ public enum JSEN : Equatable {
case null

/// Attempts to initialize a JSEN instance from an `Any?` value.
init?(from anyValue: Any?) {
public init?(from anyValue: Any?) {
switch anyValue {
case let int as Int: self = .int(int)
case let double as Double: self = .double(double)
Expand Down

0 comments on commit 35b0e95

Please sign in to comment.