fix typos

This commit is contained in:
Alvaro Parker 2024-09-16 17:07:32 -03:00
commit 2ff89a9e42
16 changed files with 39 additions and 38 deletions

View file

@ -475,7 +475,7 @@ impl XmlCompoundMeta {
/// in case parsing the type path does then fail.
fn maybe_type_path(p: parse::ParseStream<'_>) -> (bool, Option<Span>) {
// ParseStream cursors do not advance the stream, but they are also rather
// unwieldly to use. Prepare for a lot of `let .. = ..`.
// unwieldy to use. Prepare for a lot of `let .. = ..`.
let cursor = if p.peek(token::PathSep) {
// If we have a path separator, we need to skip that initially. We