Skip to content

Instantly share code, notes, and snippets.

@sanket1729
Created January 14, 2021 22:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sanket1729/70f9c09ec4e0f44923bd707dd16d8495 to your computer and use it in GitHub Desktop.
Save sanket1729/70f9c09ec4e0f44923bd707dd16d8495 to your computer and use it in GitHub Desktop.
error[E0308]: mismatched types
--> src/test_random_miniscripts.rs:32:44
|
32 | let ms: Result<_, ()> = ms.translate_pk(
| ^^^^^^^^^^^^ one type is more general than the other
|
= note: expected type `FnOnce<(&std::string::String,)>`
found type `FnOnce<(&std::string::String,)>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment