Fix two typos
This commit is contained in:
parent
382fc45759
commit
7caf2ab802
@ -3698,7 +3698,7 @@ There are two varieties of pointer in Rust:
|
||||
they exist to support interoperability with foreign code,
|
||||
and writing performance-critical or low-level functions.
|
||||
|
||||
The standard library contains addtional 'smart pointer' types beyond references
|
||||
The standard library contains additional 'smart pointer' types beyond references
|
||||
and raw pointers.
|
||||
|
||||
### Function types
|
||||
|
@ -1406,7 +1406,8 @@ impl<'l, 'tcx, 'v> Visitor<'v> for DxrVisitor<'l, 'tcx> {
|
||||
self.cur_scope),
|
||||
// FIXME(nrc) what is this doing here?
|
||||
def::DefStatic(_, _) => {}
|
||||
_ => error!("unexpected defintion kind when processing collected paths: {:?}", *def)
|
||||
_ => error!("unexpected definition kind when processing collected paths: {:?}",
|
||||
*def)
|
||||
}
|
||||
}
|
||||
self.collected_paths.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user