Skip to content

Commit 7aff3ca

Browse files
bakkotptomato
andauthored
Apply suggestions from code review
Co-authored-by: Philip Chimento <[email protected]>
1 parent f1a63db commit 7aff3ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wit-0.3.0-draft/system-clock.wit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ interface system-clock {
2828

2929
/// A duration of time, in seconds plus nanoseconds.
3030
@since(version = 0.3.0)
31-
type duration = {
31+
record duration {
3232
seconds: u64,
3333
nanoseconds: u32,
34-
};
34+
}
3535

3636
/// Read the current value of the clock.
3737
///

0 commit comments

Comments
 (0)