diff options
| author | r00ster91 <r00ster91@proton.me> | 2022-12-13 21:54:04 +0100 |
|---|---|---|
| committer | r00ster91 <r00ster91@proton.me> | 2022-12-17 14:11:33 +0100 |
| commit | 7350ea3e2da4d4e6ef5092cd9f0832beef0291d5 (patch) | |
| tree | 071595ca763a8fe5ed39751e9f4d1cb0079a028a /lib/std/builtin.zig | |
| parent | 20d3fd901eb6a7ddc1340107ae00e0f2014552e3 (diff) | |
| download | zig-7350ea3e2da4d4e6ef5092cd9f0832beef0291d5.tar.gz zig-7350ea3e2da4d4e6ef5092cd9f0832beef0291d5.zip | |
std.builtin: rename Type.Fn's args to params
This was a poor naming choice; these are parameters, not arguments.
Parameters specify what kind of arguments are expected, whereas the arguments are the actual values passed.
Diffstat (limited to 'lib/std/builtin.zig')
| -rw-r--r-- | lib/std/builtin.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index f62969e97d..a32f8253d4 100644 --- a/lib/std/builtin.zig +++ b/lib/std/builtin.zig @@ -367,7 +367,7 @@ pub const Type = union(enum) { is_var_args: bool, /// TODO change the language spec to make this not optional. return_type: ?type, - args: []const Param, + params: []const Param, /// This data structure is used by the Zig language code generation and /// therefore must be kept in sync with the compiler implementation. |
