Skip to content

Commit

Permalink
Merge pull request JohnSundell#102 from vburojevic/fixes
Browse files Browse the repository at this point in the history
Fix unboxed Int to String transformation
  • Loading branch information
JohnSundell authored Aug 16, 2016
2 parents 230b5d3 + 7492a05 commit d8134b5
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 d8134b5

Please sign in to comment.