mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
zig fmt
This commit is contained in:
parent
06cc873c0a
commit
12c353afaf
2 changed files with 5 additions and 15 deletions
|
@ -1064,7 +1064,7 @@ test "RocStr.joinWith: result is big" {
|
|||
|
||||
// Str.toBytes
|
||||
pub fn strToBytesC(arg: RocStr) callconv(.C) RocList {
|
||||
return @call(.{ .modifier = always_inline }, strToBytes, .{ arg });
|
||||
return @call(.{ .modifier = always_inline }, strToBytes, .{arg});
|
||||
}
|
||||
|
||||
fn strToBytes(arg: RocStr) RocList {
|
||||
|
@ -1090,7 +1090,7 @@ const FromUtf8Result = extern struct {
|
|||
};
|
||||
|
||||
pub fn fromUtf8C(arg: RocList, output: *FromUtf8Result) callconv(.C) void {
|
||||
output.* = @call(.{ .modifier = always_inline }, fromUtf8, .{ arg });
|
||||
output.* = @call(.{ .modifier = always_inline }, fromUtf8, .{arg});
|
||||
}
|
||||
|
||||
fn fromUtf8(arg: RocList) FromUtf8Result {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue