Skip to content

Commit fa464d1

Browse files
committed
fix: Remove bad reference to cfg for optional dep
1 parent d8a7c03 commit fa464d1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

text/3491-remove-implicit-features.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ giffy = { version = "0.11.1", optional = true }
5454

5555
This means that this dependency will only be included if the `gif`
5656
feature is enabled.
57-
In addition to `cfg(feature = "gif")` syntax, you can reference this as
58-
`cfg(feature = "giffy")` in the code though users may get confused at error
59-
messages when used on a public API.
6057

6158
> **Note**: Prior to the 202X edition, features were implicitly created for
6259
> optional dependencies not referenced via `dep:`.

0 commit comments

Comments
 (0)