diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-01-19 22:18:04 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-01-19 22:18:04 -0700 |
| commit | 41eff5723dd61b19be88830f16d76514583e3339 (patch) | |
| tree | e1a0469d807448c2814249a3e4509ddb65bc1b52 /lib/std/Thread/Mutex.zig | |
| parent | 46d592e485cf8ee4d85854040acd1b05271591b5 (diff) | |
| download | zig-41eff5723dd61b19be88830f16d76514583e3339.tar.gz zig-41eff5723dd61b19be88830f16d76514583e3339.zip | |
Compilation: avoid caching root source file twice
The deleted lines here are redundant because they happen first thing
inside the function call below.
Additionally, skip hashing the root source file if it is an empty
string. I explored making this field along with `root` optional but
found this to be less messy actually.
Diffstat (limited to 'lib/std/Thread/Mutex.zig')
0 files changed, 0 insertions, 0 deletions
