Skip to content

Commit b4da35d

Browse files
authored
Unify the format of wit files (#97)
1 parent f73bfb4 commit b4da35d

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

wit/poll.wit

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ interface poll {
88
@since(version = 0.2.0)
99
resource pollable {
1010

11-
/// Return the readiness of a pollable. This function never blocks.
12-
///
13-
/// Returns `true` when the pollable is ready, and `false` otherwise.
14-
@since(version = 0.2.0)
15-
ready: func() -> bool;
11+
/// Return the readiness of a pollable. This function never blocks.
12+
///
13+
/// Returns `true` when the pollable is ready, and `false` otherwise.
14+
@since(version = 0.2.0)
15+
ready: func() -> bool;
1616

17-
/// `block` returns immediately if the pollable is ready, and otherwise
18-
/// blocks until ready.
19-
///
20-
/// This function is equivalent to calling `poll.poll` on a list
21-
/// containing only this pollable.
22-
@since(version = 0.2.0)
23-
block: func();
17+
/// `block` returns immediately if the pollable is ready, and otherwise
18+
/// blocks until ready.
19+
///
20+
/// This function is equivalent to calling `poll.poll` on a list
21+
/// containing only this pollable.
22+
@since(version = 0.2.0)
23+
block: func();
2424
}
2525

2626
/// Poll for completion on a set of pollables.

0 commit comments

Comments
 (0)