diff options
author | 2025-05-26 16:12:13 -0400 | |
---|---|---|
committer | 2025-05-26 16:12:13 -0400 | |
commit | 85502b2214d50ba0ddf2a5fb454e4d28a160d175 (patch) | |
tree | 0fdee4062c437b2f36ea8a62457d753a56bf60de /rust/pin-init/internal/src | |
parent | Documentation: virt/kvm: remove unreferenced footnote (diff) | |
parent | KVM: selftests: Add supported test cases for LoongArch (diff) | |
download | wireguard-linux-85502b2214d50ba0ddf2a5fb454e4d28a160d175.tar.xz wireguard-linux-85502b2214d50ba0ddf2a5fb454e4d28a160d175.zip |
Merge tag 'loongarch-kvm-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson into HEAD
LoongArch KVM changes for v6.16
1. Don't flush tlb if HW PTW supported.
2. Add LoongArch KVM selftests support.
Diffstat (limited to 'rust/pin-init/internal/src')
-rw-r--r-- | rust/pin-init/internal/src/pinned_drop.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rust/pin-init/internal/src/pinned_drop.rs b/rust/pin-init/internal/src/pinned_drop.rs index c824dd8b436d..c4ca7a70b726 100644 --- a/rust/pin-init/internal/src/pinned_drop.rs +++ b/rust/pin-init/internal/src/pinned_drop.rs @@ -28,8 +28,7 @@ pub(crate) fn pinned_drop(_args: TokenStream, input: TokenStream) -> TokenStream // Found the end of the generics, this should be `PinnedDrop`. assert!( matches!(tt, TokenTree::Ident(i) if i.to_string() == "PinnedDrop"), - "expected 'PinnedDrop', found: '{:?}'", - tt + "expected 'PinnedDrop', found: '{tt:?}'" ); pinned_drop_idx = Some(i); break; |