trie: remove the Copy requirement
auto merge of #5245 : thestinger/rust/trie, r=graydon