Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
subscriber: fix unused method warnings for
Extensions
(#1686)
## Motivation Currently, there are some `pub(crate)` methods on the `Extensions`, `ExtensionsMut`, and `ExtensionsInner` types that are only used when the "registry" feature is enabled. However, the _types_ exist when the "std" feature flag is enabled, so those methods produce unused method warnings. ## Solution This commit adds `#[cfg(feature = "registry")]` to those methods, fixing the warning.
- Loading branch information