We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3dffd5 commit c77a35eCopy full SHA for c77a35e
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: b91a51daca705b5aebfa58079963f24592a7e411
+refs/heads/master: 5b6c26b4e44e05717cc9a1d0041f44fb4df4d102
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
5
refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650
trunk/src/libstd/treemap.rs
@@ -745,8 +745,8 @@ mod test_treemap {
745
let v1 = str::to_bytes(~"baz");
746
let v2 = str::to_bytes(~"foobar");
747
748
- m.insert(k1, v1);
749
- m.insert(k2, v2);
+ m.insert(copy k1, copy v1);
+ m.insert(copy k2, copy v2);
750
751
assert m.find(&k2) == Some(&v2);
752
assert m.find(&k1) == Some(&v1);
0 commit comments