@@ -362,7 +362,7 @@ impl fmt::Show for clean::Type {
362
362
} ,
363
363
args = decl. decl. inputs,
364
364
arrow = match decl. decl. output {
365
- clean:: Primitive ( clean:: Nil ) => "" . to_string( ) ,
365
+ clean:: Primitive ( clean:: Unit ) => "" . to_string( ) ,
366
366
_ => format!( " -> {}" , decl. decl. output) ,
367
367
} ,
368
368
bounds = {
@@ -411,7 +411,7 @@ impl fmt::Show for clean::Type {
411
411
m. collect:: <Vec <String >>( ) . connect( " + " ) )
412
412
} ,
413
413
arrow = match decl. decl. output {
414
- clean:: Primitive ( clean:: Nil ) => "" . to_string( ) ,
414
+ clean:: Primitive ( clean:: Unit ) => "" . to_string( ) ,
415
415
_ => format!( " -> {}" , decl. decl. output)
416
416
} )
417
417
}
@@ -472,7 +472,7 @@ impl fmt::Show for clean::FnDecl {
472
472
write ! ( f, "({args}){arrow}" ,
473
473
args = self . inputs,
474
474
arrow = match self . output {
475
- clean:: Primitive ( clean:: Nil ) => "" . to_string( ) ,
475
+ clean:: Primitive ( clean:: Unit ) => "" . to_string( ) ,
476
476
_ => format!( " -> {}" , self . output) ,
477
477
} )
478
478
}
@@ -505,7 +505,7 @@ impl<'a> fmt::Show for Method<'a> {
505
505
write ! ( f, "({args}){arrow}" ,
506
506
args = args,
507
507
arrow = match d. output {
508
- clean:: Primitive ( clean:: Nil ) => "" . to_string( ) ,
508
+ clean:: Primitive ( clean:: Unit ) => "" . to_string( ) ,
509
509
_ => format!( " -> {}" , d. output) ,
510
510
} )
511
511
}
0 commit comments