zig/lib/std/Thread
Damien Firmenich 5fafcc2b62
zig fmt: remove trailing whitespace on doc comments
Fixes #11353

The renderer treats comments and doc comments differently since doc
comments are parsed into the Ast. This commit adds a check after getting
the text for the doc comment and trims whitespace at the end before
rendering.

The `a = 0,` in the test is here to avoid a ParseError while parsing the
test.
2022-04-05 18:08:33 +03:00
..
AutoResetEvent.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
Condition.zig std: add test for Thread.Condition 2022-01-29 20:30:53 +00:00
Futex.zig zig fmt: remove trailing whitespace on doc comments 2022-04-05 18:08:33 +03:00
Mutex.zig std.Thread.Mutex: change API to lock() and unlock() 2021-11-09 18:31:03 -07:00
ResetEvent.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
RwLock.zig update RwLock to use static initialization (#10838) 2022-02-08 23:35:48 -05:00
Semaphore.zig std: add test for Thread.Semaphore 2022-01-29 20:30:53 +00:00
StaticResetEvent.zig std: rename sched_yield to yield and move it to std.Thread 2022-02-27 15:34:02 -05:00