@@ -262,7 +262,7 @@ impl<'hir> Sig for hir::Ty<'hir> {
262262 } else {
263263 let start = offset + prefix. len ( ) + 5 ;
264264 let end = start + name. len ( ) ;
265- // FIXME should put the proper path in there, not elipses .
265+ // FIXME should put the proper path in there, not ellipsis .
266266 Ok ( Signature {
267267 text : prefix + "...::" + & name,
268268 defs : vec ! [ ] ,
@@ -272,7 +272,7 @@ impl<'hir> Sig for hir::Ty<'hir> {
272272 }
273273 hir:: TyKind :: Path ( hir:: QPath :: TypeRelative ( ty, segment) ) => {
274274 let nested_ty = ty. make ( offset + 1 , id, scx) ?;
275- let prefix = format ! ( "<{}>::" , nested_ty. text, ) ;
275+ let prefix = format ! ( "<{}>::" , nested_ty. text) ;
276276
277277 let name = path_segment_to_string ( segment) ;
278278 let res = scx. get_path_res ( id. ok_or ( "Missing id for Path" ) ?) ;
@@ -551,7 +551,7 @@ impl<'hir> Sig for hir::Item<'hir> {
551551 // FIXME where clause
552552 }
553553 hir:: ItemKind :: ForeignMod ( _) => Err ( "extern mod" ) ,
554- hir:: ItemKind :: GlobalAsm ( _) => Err ( "glboal asm" ) ,
554+ hir:: ItemKind :: GlobalAsm ( _) => Err ( "global asm" ) ,
555555 hir:: ItemKind :: ExternCrate ( _) => Err ( "extern crate" ) ,
556556 hir:: ItemKind :: OpaqueTy ( ..) => Err ( "opaque type" ) ,
557557 // FIXME should implement this (e.g., pub use).
0 commit comments