summaryrefslogtreecommitdiff
path: root/src/utils.rs
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-08-11 15:23:20 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-08-11 15:23:20 +0000
commit4cfc0f6e8bb63bd21b9c141a4fa1f9c644b22f4e (patch)
tree9b6e6633ecc2299c1a0d601f3989284f73b8659f /src/utils.rs
parent958222491263b55afddf144bee622d0d795f9b4d (diff)
parente8adb29cb4721b39600cb5fd104298f23d11393e (diff)
downloadpin-project-internal-4cfc0f6e8bb63bd21b9c141a4fa1f9c644b22f4e.tar.gz
Upgrade rust/crates/pin-project-internal to 1.0.8 am: 390cfc29ad am: 3d23b9a9a9 am: 3536cb78bf am: ba297fb2ec am: e8adb29cb4
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project-internal/+/1791069 Change-Id: Ie23e3f02cc766c9c96015b03883ae3209f461c30
Diffstat (limited to 'src/utils.rs')
-rw-r--r--src/utils.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.rs b/src/utils.rs
index 2db00e2..3fa07e7 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -261,7 +261,7 @@ impl ReplaceReceiver<'_> {
match iter.peek() {
Some(TokenTree::Punct(p)) if p.as_char() == ':' => {
let span = ident.span();
- out.extend(quote_spanned!(span=> <#self_ty>))
+ out.extend(quote_spanned!(span=> <#self_ty>));
}
_ => out.extend(quote!(#self_ty)),
}
@@ -356,7 +356,7 @@ impl VisitMut for ReplaceReceiver<'_> {
match item {
// Visit `macro_rules!` because locally defined macros can refer to `self`.
Item::Macro(item) if item.mac.path.is_ident("macro_rules") => {
- self.visit_macro_mut(&mut item.mac)
+ self.visit_macro_mut(&mut item.mac);
}
// Otherwise, do not recurse into nested items.
_ => {}