Skip to content

Commit

Permalink
Fix unboxed Int to String transformation
Browse files Browse the repository at this point in the history
  • Loading branch information
vburojevic committed Aug 16, 2016
1 parent 230b5d3 commit 7492a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Unbox.swift
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ extension String: UnboxableRawType {
}

public static func transformUnboxedInt(unboxedInt: Int) -> String? {
return nil
return String(unboxedInt)
}

public static func transformUnboxedString(unboxedString: String) -> String? {
Expand Down

0 comments on commit 7492a05

Please sign in to comment.