| ... | ... | @@ -2593,9 +2593,8 @@ pub const Managed = struct { |
| 2593 | 2593 | /// Converts self to a string in the requested base. Memory is allocated from the provided |
| 2594 | 2594 | /// allocator and not the one present in self. |
| 2595 | 2595 | pub fn toString(self: Managed, allocator: Allocator, base: u8, case: std.fmt.Case) ![]u8 { |
| 2596 | | _ = allocator; |
| 2597 | 2596 | if (base < 2 or base > 16) return error.InvalidBase; |
| 2598 | | return self.toConst().toStringAlloc(self.allocator, base, case); |
| 2597 | return self.toConst().toStringAlloc(allocator, base, case); |
| 2599 | 2598 | } |
| 2600 | 2599 | |
| 2601 | 2600 | /// To allow `std.fmt.format` to work with `Managed`. |