Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update api.rs #961

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Update api.rs #961

merged 1 commit into from
Jan 19, 2024

Conversation

9i5BCrUcNX5NmT
Copy link
Contributor

Error: 🚫 Building project failed: error[E0277]: can't compare &freenet_stdlib::prelude::DelegateKey with freenet_stdlib::prelude::DelegateKey
--> web/src/api.rs:678:41
|
678 | ... if &key == IDENTITIES_KEY.get().unwrap() =>
| ^^ no implementation for &freenet_stdlib::prelude::DelegateKey == freenet_stdlib::prelude::DelegateKey
|
= help: the trait PartialEq<freenet_stdlib::prelude::DelegateKey> is not implemented for &freenet_stdlib::prelude::DelegateKey
= help: the trait PartialEq is implemented for freenet_stdlib::prelude::DelegateKey
= help: for that trait implementation, expected freenet_stdlib::prelude::DelegateKey, found &freenet_stdlib::prelude::DelegateKey
= note: required for &&freenet_stdlib::prelude::DelegateKey to implement PartialEq<&freenet_stdlib::prelude::DelegateKey>

Error: 🚫 Building project failed: error[E0277]: can't compare `&freenet_stdlib::prelude::DelegateKey` with `freenet_stdlib::prelude::DelegateKey`
   --> web/src/api.rs:678:41
    |
678 | ...                   if &key == IDENTITIES_KEY.get().unwrap() =>
    |                               ^^ no implementation for `&freenet_stdlib::prelude::DelegateKey == freenet_stdlib::prelude::DelegateKey`
    |
    = help: the trait `PartialEq<freenet_stdlib::prelude::DelegateKey>` is not implemented for `&freenet_stdlib::prelude::DelegateKey`
    = help: the trait `PartialEq` is implemented for `freenet_stdlib::prelude::DelegateKey`
    = help: for that trait implementation, expected `freenet_stdlib::prelude::DelegateKey`, found `&freenet_stdlib::prelude::DelegateKey`
    = note: required for `&&freenet_stdlib::prelude::DelegateKey` to implement `PartialEq<&freenet_stdlib::prelude::DelegateKey>`
@CLAassistant
Copy link

CLAassistant commented Jan 18, 2024

CLA assistant check
All committers have signed the CLA.

@iduartgomez iduartgomez merged commit ff96078 into freenet:main Jan 19, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants