Skip to content

Commit 2c5f23a

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 163305 b: refs/heads/snap-stage3 c: 01d2e46 h: refs/heads/master i: 163303: c0dd8af v: v3
1 parent 82c6a36 commit 2c5f23a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 9146a919b616e39e528e4d7100d16eef52f1f852
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 594ff51b237299565a79de323aa1ba390190e28a
4+
refs/heads/snap-stage3: 01d2e46a2d952c65071b363701faa6eea952d55f
55
refs/heads/try: 20cbbffeefc1f35e2ea63afce7b42fbd79611d42
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/librustc/metadata/decoder.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,9 @@ fn get_provided_source(d: rbml::Doc, cdata: Cmd) -> Option<ast::DefId> {
212212
})
213213
}
214214

215-
fn each_reexport(d: rbml::Doc, f: |rbml::Doc| -> bool) -> bool {
215+
fn each_reexport<F>(d: rbml::Doc, f: F) -> bool where
216+
F: FnMut(rbml::Doc) -> bool,
217+
{
216218
reader::tagged_docs(d, tag_items_data_item_reexport, f)
217219
}
218220

0 commit comments

Comments
 (0)