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
$cargo install mocword
error[E0277]: expected a `Fn<(char,)>` closure, found `[char; 2]`
--> /usr/local/google/home/cnieves/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/mocword-0.1.0/src/main.rs:312:56
|
312 | execute(conn, &args, line.trim_end_matches(&['\r', '\n']))?.join(" ")
| ---------------- ^^^^^^^^^^^^^ expected an `Fn<(char,)>` closure, found `[char; 2]`
| |
| required by a bound introduced by this call
|
= help: the trait `Fn<(char,)>` is not implemented for `[char; 2]`
= note: required because of the requirements on the impl of `FnOnce<(char,)>` for `&[char; 2]`
= note: required because of the requirements on the impl of `Pattern<'_>` for `&[char; 2]`
For more information about this error, try `rustc --explain E0277`.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: