mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
clippy
This commit is contained in:
parent
17fddaf0dd
commit
9473a332db
6 changed files with 6 additions and 25 deletions
|
@ -50,9 +50,6 @@ pub const RocStr = extern struct {
|
|||
const length = @sizeOf(usize) + number_of_chars;
|
||||
var new_bytes: []usize = allocator.alloc(usize, length) catch unreachable;
|
||||
|
||||
const stdout = std.io.getStdOut().writer();
|
||||
stdout.print("Hello, {d}!\n", .{length}) catch unreachable;
|
||||
|
||||
if (in_place == InPlace.InPlace) {
|
||||
new_bytes[0] = @intCast(usize, number_of_chars);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue