aboutsummaryrefslogtreecommitdiff
path: root/lib/std/meta.zig
diff options
context:
space:
mode:
authorEric Joldasov <bratishkaerik@getgoogleoff.me>2023-06-05 14:29:28 +0600
committerEric Joldasov <bratishkaerik@getgoogleoff.me>2023-06-13 23:46:58 +0600
commitd884d7050e061c620324aaaabfba507e08cb40f4 (patch)
treefa0b5994341509ef81d7244788ea3e37b13f6d27 /lib/std/meta.zig
parent6078781ae52fc2c85559f622f58c303b73d8a6a5 (diff)
downloadzig-d884d7050e061c620324aaaabfba507e08cb40f4.tar.gz
zig-d884d7050e061c620324aaaabfba507e08cb40f4.zip
all: replace `comptime try` with `try comptime`
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
Diffstat (limited to 'lib/std/meta.zig')
-rw-r--r--lib/std/meta.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/meta.zig b/lib/std/meta.zig
index 28709750c7..db415199ed 100644
--- a/lib/std/meta.zig
+++ b/lib/std/meta.zig
@@ -210,7 +210,7 @@ pub fn sentinel(comptime T: type) ?Elem(T) {
test "std.meta.sentinel" {
try testSentinel();
- comptime try testSentinel();
+ try comptime testSentinel();
}
fn testSentinel() !void {