Advertisement
Guest User

Untitled

a guest
Jan 8th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rust 0.35 KB | None | 0 0
  1.         app.values_of("modules")
  2.             .unwrap()
  3.             .map(|x| x.clone())
  4.             .cloned()
  5.             .collect()
  6.  
  7. error[E0277]: the trait bound `str: std::clone::Clone` is not satisfied
  8.   --> src/main.rs:49:14
  9.    |
  10. 49 |             .cloned()
  11.    |              ^^^^^^ the trait `std::clone::Clone` is not implemented for `str`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement