Guest User

Untitled

a guest
May 27th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. use std::sync::{Arc, Mutex};
  2. use std::rc::Rc;
  3.  
  4. fn foo(t: Arc<Mutex<Rc<()>>>) {
  5. bar(t)
  6. }
  7.  
  8. fn bar<T>(_: T)
  9. where T: Send
  10. {
  11.  
  12. }
  13.  
  14.  
  15. fn main() {
  16. }
Add Comment
Please, Sign In to add comment