Skip to content

Commit

Permalink
Implement Error for RustStringRef
Browse files Browse the repository at this point in the history
  • Loading branch information
jnbooth committed Jul 19, 2024
1 parent 34ce1ff commit ab2ca70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class RustStringRefMut: RustStringRef {
super.init(ptr: ptr)
}
}
public class RustStringRef {
public class RustStringRef: Error {
var ptr: UnsafeMutableRawPointer

public init(ptr: UnsafeMutableRawPointer) {
Expand Down

0 comments on commit ab2ca70

Please sign in to comment.