Skip to content

Commit

Permalink
fix: Remove bad reference to cfg for optional dep
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Oct 3, 2023
1 parent d8a7c03 commit fa464d1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions text/3491-remove-implicit-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ giffy = { version = "0.11.1", optional = true }

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

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

0 comments on commit fa464d1

Please sign in to comment.