You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Describe the bug
This function has the following signature:
Where
LookupGuard<'a, Config>
dereferences (usingunsafe
) intoConfig
. However, the underlyingValidatedMap::get
returnsAny
and is supposed to be the type of a member ofConfig
such asConnectConfig
.By the way,
LookupGuard
is not even exported.Either the signature should be fixed, or
get
should be removed entirely in favor ofget_json
.To reproduce
N/A
System info
The text was updated successfully, but these errors were encountered: