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 42a47ce commit de90f72Copy full SHA for de90f72
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 95d0763707956ec6518694ec0fb8b82a7b3a1261
+refs/heads/master: 9b075bcf3ffef3f11d8401b55feaa02c1e6553d2
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 8443b09e361b96d1f9b7f45a65ed0d31c0e86e70
5
refs/heads/try: 20cbbffeefc1f35e2ea63afce7b42fbd79611d42
trunk/src/libserialize/json.rs
@@ -2680,7 +2680,7 @@ mod tests {
2680
from_str(a.to_pretty_str().as_slice()).unwrap());
2681
}
2682
2683
- fn with_str_writer(f: |&mut io::Writer|) -> string::String {
+ fn with_str_writer<F>(f: F) -> string::String where F: FnOnce(&mut io::Writer){
2684
use std::str;
2685
2686
let mut m = Vec::new();
0 commit comments