Skip to content

Commit d95c5bc

Browse files
committed
fix wording on @deprecated
1 parent 51f480c commit d95c5bc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

design/mvp/WIT.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -958,10 +958,9 @@ change type or be removed at any time. An important expectation set by the
958958
default unless explicitly opted-into by the developer.
959959

960960
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
962-
warn users if they detect an `@deprecated` API is being used. An `@deprecated`
963-
gate is required to always be paired up with an `@since` gate. It is
964-
semantically invalid to use `@deprecated` without also using `@since`.
961+
used starting version `0.2.1`. Both toolchains and host runtimes may warn users
962+
if they detect an `@deprecated` API is being used. An `@deprecated` gate is
963+
required to always be paired up with either a `@since` or `@deprecated` gate.
965964

966965
Together, these gates support a development flow in which new features start
967966
with an `@unstable` gate while the details are still being hashed out. Then,

0 commit comments

Comments
 (0)