Skip to content

Commit 0e956c7

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 164767 b: refs/heads/try c: 683342c h: refs/heads/master i: 164765: 6c28e20 164763: d8e5e96 164759: bbb2e7b 164751: bd7dd4e 164735: 8b6b89c v: v3
1 parent 2e34c59 commit 0e956c7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: f8f2c7a9537c7f333b242f616aefb75a83860927
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 8443b09e361b96d1f9b7f45a65ed0d31c0e86e70
5-
refs/heads/try: a7a065bd98e9959d09362ca4982c2f7226ddc94b
5+
refs/heads/try: 683342c3f0e6cb4142876ad06ba418df2aae1450
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/libgraphviz/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@
269269
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
270270
html_root_url = "http://doc.rust-lang.org/nightly/")]
271271
#![feature(globs, slicing_syntax)]
272+
#![feature(unboxed_closures)]
272273

273274
pub use self::LabelText::*;
274275

branches/try/src/libgraphviz/maybe_owned_vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ impl<'a,T:Clone> CloneSliceAllocPrelude<T> for MaybeOwnedVector<'a,T> {
142142
self.as_slice().to_vec()
143143
}
144144

145-
fn partitioned(&self, f: |&T| -> bool) -> (Vec<T>, Vec<T>) {
145+
fn partitioned<F>(&self, f: F) -> (Vec<T>, Vec<T>) where F: FnMut(&T) -> bool {
146146
self.as_slice().partitioned(f)
147147
}
148148

0 commit comments

Comments
 (0)