-
Notifications
You must be signed in to change notification settings - Fork 230
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
This function has the following signature:
pub fn get<'a>(&'a self, key: &str) -> ZResult<LookupGuard<'a, Config>>Where LookupGuard<'a, Config> dereferences (using unsafe) into Config. However, the underlying ValidatedMap::get returns Any and is supposed to be the type of a member of Config such as ConnectConfig.
By the way, LookupGuard is not even exported.
Either the signature should be fixed, or get should be removed entirely in favor of get_json.
To reproduce
N/A
System info
- ref: ca058bd
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working