@@ -262,7 +262,7 @@ impl<'hir> Sig for hir::Ty<'hir> {
262
262
} else {
263
263
let start = offset + prefix. len ( ) + 5 ;
264
264
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 .
266
266
Ok ( Signature {
267
267
text : prefix + "...::" + & name,
268
268
defs : vec ! [ ] ,
@@ -272,7 +272,7 @@ impl<'hir> Sig for hir::Ty<'hir> {
272
272
}
273
273
hir:: TyKind :: Path ( hir:: QPath :: TypeRelative ( ty, segment) ) => {
274
274
let nested_ty = ty. make ( offset + 1 , id, scx) ?;
275
- let prefix = format ! ( "<{}>::" , nested_ty. text, ) ;
275
+ let prefix = format ! ( "<{}>::" , nested_ty. text) ;
276
276
277
277
let name = path_segment_to_string ( segment) ;
278
278
let res = scx. get_path_res ( id. ok_or ( "Missing id for Path" ) ?) ;
@@ -551,7 +551,7 @@ impl<'hir> Sig for hir::Item<'hir> {
551
551
// FIXME where clause
552
552
}
553
553
hir:: ItemKind :: ForeignMod ( _) => Err ( "extern mod" ) ,
554
- hir:: ItemKind :: GlobalAsm ( _) => Err ( "glboal asm" ) ,
554
+ hir:: ItemKind :: GlobalAsm ( _) => Err ( "global asm" ) ,
555
555
hir:: ItemKind :: ExternCrate ( _) => Err ( "extern crate" ) ,
556
556
hir:: ItemKind :: OpaqueTy ( ..) => Err ( "opaque type" ) ,
557
557
// FIXME should implement this (e.g., pub use).
0 commit comments