-pub fn render_opts<'a, N:Clone+'a, E:Clone+'a, G:Labeller<'a,N,E>+GraphWalk<'a,N,E>, W:Write>(
- g: &'a G,
- w: &mut W,
- options: &[RenderOption]) -> io::Result<()>
-{
- fn writeln<W:Write>(w: &mut W, arg: &[&str]) -> io::Result<()> {
- for &s in arg { try!(w.write_all(s.as_bytes())); }
+pub fn render_opts<'a,
+ N: Clone + 'a,
+ E: Clone + 'a,
+ G: Labeller<'a, N, E> + GraphWalk<'a, N, E>,
+ W: Write>
+ (g: &'a G,
+ w: &mut W,
+ options: &[RenderOption])
+ -> io::Result<()> {
+ fn writeln<W: Write>(w: &mut W, arg: &[&str]) -> io::Result<()> {
+ for &s in arg {
+ try!(w.write_all(s.as_bytes()));
+ }