I have a data type that is:

hashmap<str, str>

Right now, when I create it (with map::str_hash()), and do anything with it 
(.insert, .each, .size), it gives me the warning "instantiating copy type 
parameter with a not implicitly copyable type". Is there any way to tell it 
that it is okay to copy the strings it contains?

And is this going to be a bad idea; if so, what is the alternative? Is there 
any way that when I insert values I can give ownership to the hashmap?

Thanks,
Daniel
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to