@@ -362,7 +362,7 @@ impl fmt::Show for clean::Type {
362362 } ,
363363 args = decl. decl. inputs,
364364 arrow = match decl. decl. output {
365- clean:: Primitive ( clean:: Nil ) => "" . to_string( ) ,
365+ clean:: Primitive ( clean:: Unit ) => "" . to_string( ) ,
366366 _ => format!( " -> {}" , decl. decl. output) ,
367367 } ,
368368 bounds = {
@@ -411,7 +411,7 @@ impl fmt::Show for clean::Type {
411411 m. collect:: <Vec <String >>( ) . connect( " + " ) )
412412 } ,
413413 arrow = match decl. decl. output {
414- clean:: Primitive ( clean:: Nil ) => "" . to_string( ) ,
414+ clean:: Primitive ( clean:: Unit ) => "" . to_string( ) ,
415415 _ => format!( " -> {}" , decl. decl. output)
416416 } )
417417 }
@@ -472,7 +472,7 @@ impl fmt::Show for clean::FnDecl {
472472 write ! ( f, "({args}){arrow}" ,
473473 args = self . inputs,
474474 arrow = match self . output {
475- clean:: Primitive ( clean:: Nil ) => "" . to_string( ) ,
475+ clean:: Primitive ( clean:: Unit ) => "" . to_string( ) ,
476476 _ => format!( " -> {}" , self . output) ,
477477 } )
478478 }
@@ -505,7 +505,7 @@ impl<'a> fmt::Show for Method<'a> {
505505 write ! ( f, "({args}){arrow}" ,
506506 args = args,
507507 arrow = match d. output {
508- clean:: Primitive ( clean:: Nil ) => "" . to_string( ) ,
508+ clean:: Primitive ( clean:: Unit ) => "" . to_string( ) ,
509509 _ => format!( " -> {}" , d. output) ,
510510 } )
511511 }
0 commit comments