libgraphviz: fix fallout
This commit is contained in:
parent
a7a065bd98
commit
683342c3f0
@ -269,6 +269,7 @@
|
|||||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||||
html_root_url = "http://doc.rust-lang.org/nightly/")]
|
html_root_url = "http://doc.rust-lang.org/nightly/")]
|
||||||
#![feature(globs, slicing_syntax)]
|
#![feature(globs, slicing_syntax)]
|
||||||
|
#![feature(unboxed_closures)]
|
||||||
|
|
||||||
pub use self::LabelText::*;
|
pub use self::LabelText::*;
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@ impl<'a,T:Clone> CloneSliceAllocPrelude<T> for MaybeOwnedVector<'a,T> {
|
|||||||
self.as_slice().to_vec()
|
self.as_slice().to_vec()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn partitioned(&self, f: |&T| -> bool) -> (Vec<T>, Vec<T>) {
|
fn partitioned<F>(&self, f: F) -> (Vec<T>, Vec<T>) where F: FnMut(&T) -> bool {
|
||||||
self.as_slice().partitioned(f)
|
self.as_slice().partitioned(f)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user