Skip to content

Commit 77ceead

Browse files
badeendricochet
authored andcommitted
Add get-* prefix
1 parent 13d1c82 commit 77ceead

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wit-0.3.0-draft/monotonic-clock.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ interface monotonic-clock {
2929
/// Query the resolution of the clock. Returns the duration of time
3030
/// corresponding to a clock tick.
3131
@since(version = 0.3.0)
32-
resolution: func() -> duration;
32+
get-resolution: func() -> duration;
3333

3434
/// Wait until the specified instant has occurred.
3535
@since(version = 0.3.0)

wit-0.3.0-draft/wall-clock.wit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ interface wall-clock {
4242
///
4343
/// The nanoseconds field of the output is always less than 1000000000.
4444
@since(version = 0.3.0)
45-
resolution: func() -> datetime;
45+
get-resolution: func() -> datetime;
4646
}

0 commit comments

Comments
 (0)