aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Target.zig
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2024-08-11 12:58:47 +0100
committerLinus Groh <mail@linusgroh.de>2024-08-12 00:34:59 +0100
commitfd434fcd3802cd51778cfc44bde8e6ff83f808bd (patch)
tree185f7e3c2196a6eb9e41aec61f78f2271447171b /lib/std/Target.zig
parentfc2924080694d68945308d394751a2ec4841b3c0 (diff)
downloadzig-fd434fcd3802cd51778cfc44bde8e6ff83f808bd.tar.gz
zig-fd434fcd3802cd51778cfc44bde8e6ff83f808bd.zip
std.Target: Rename feature_set_fns to FeatureSetFns
From https://ziglang.org/documentation/master/#Names: > If `x` is callable, and `x`'s return type is `type`, then `x` should > be `TitleCase`.
Diffstat (limited to 'lib/std/Target.zig')
-rw-r--r--lib/std/Target.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Target.zig b/lib/std/Target.zig
index ce439a0ab1..5a35f326f9 100644
--- a/lib/std/Target.zig
+++ b/lib/std/Target.zig
@@ -958,7 +958,7 @@ pub const Cpu = struct {
}
};
- pub fn feature_set_fns(comptime F: type) type {
+ pub fn FeatureSetFns(comptime F: type) type {
return struct {
/// Populates only the feature bits specified.
pub fn featureSet(features: []const F) Set {