mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
@@ -112,7 +112,7 @@ pub const MutableString = struct {
|
||||
return self.list.toOwnedSlice(self.allocator);
|
||||
}
|
||||
|
||||
pub fn toOwnedSliceLeaky(self: *MutableString) string {
|
||||
pub fn toOwnedSliceLeaky(self: *MutableString) []u8 {
|
||||
return self.list.items;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user