Skip to content

Commit

Permalink
Remove LocalizedError implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
jnbooth authored and brittlewis12 committed Oct 14, 2024
1 parent 9695106 commit 1912e42
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions crates/swift-bridge-build/src/generate_core/rust_string.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ extension RustStringRef {
}
}
extension RustStringRef: Error {}
extension RustStringRef: LocalizedError {
public var errorDescription: String? {
return self.as_str().toString()
}
}
extension RustString: Vectorizable {
public static func vecOfSelfNew() -> UnsafeMutableRawPointer {
__swift_bridge__$Vec_RustString$new()
Expand Down

0 comments on commit 1912e42

Please sign in to comment.