Skip to content

Commit 75d3a0f

Browse files
Add feedback from review
Co-Authored-By: Alex Crichton <[email protected]>
1 parent 9b6b70c commit 75d3a0f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

design/mvp/WIT.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,8 @@ interface foo {
941941
@unstable(feature = fancier-foo)
942942
d: func();
943943
944-
@deprecated(version = 0.2.1)
944+
@since(version = 0.2.0)
945+
@deprecated(version = 0.2.2)
945946
e: func();
946947
}
947948
```
@@ -958,7 +959,7 @@ change type or be removed at any time. An important expectation set by the
958959
default unless explicitly opted-into by the developer.
959960

960961
Finally, the `@deprecated` gate on `e` indicates that `e` should no longer be
961-
used starting version `0.2.1`. Both toolchains and host runtimes may warn users
962+
used starting version `0.2.2`. Both toolchains and host runtimes may warn users
962963
if they detect an `@deprecated` API is being used. An `@deprecated` gate is
963964
required to always be paired up with either a `@since` or `@deprecated` gate.
964965

0 commit comments

Comments
 (0)