You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2025/02/21 03:12:14 UTC
(opendal) branch fix-clippy created (now 961ce9cff)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a change to branch fix-clippy
in repository https://gitbox.apache.org/repos/asf/opendal.git
at 961ce9cff chore: Fix clippy for rust edition 2024
This branch includes the following new commits:
new 961ce9cff chore: Fix clippy for rust edition 2024
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(opendal) 01/01: chore: Fix clippy for rust edition 2024
Posted by xu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch fix-clippy
in repository https://gitbox.apache.org/repos/asf/opendal.git
commit 961ce9cffc881ad7c5a7bcc35c721634e894f0ad
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Fri Feb 21 11:11:47 2025 +0800
chore: Fix clippy for rust edition 2024
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
integrations/virtiofs/src/virtiofs.rs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/integrations/virtiofs/src/virtiofs.rs b/integrations/virtiofs/src/virtiofs.rs
index fbacaf1f6..aaa7d8faf 100644
--- a/integrations/virtiofs/src/virtiofs.rs
+++ b/integrations/virtiofs/src/virtiofs.rs
@@ -215,9 +215,9 @@ impl VhostUserBackend for VhostUserFsBackend {
/// Get available virtio features.
fn features(&self) -> u64 {
// Align to the virtiofsd's features here.
- 1 << VIRTIO_F_VERSION_1
- | 1 << VIRTIO_RING_F_INDIRECT_DESC
- | 1 << VIRTIO_RING_F_EVENT_IDX
+ (1 << VIRTIO_F_VERSION_1)
+ | (1 << VIRTIO_RING_F_INDIRECT_DESC)
+ | (1 << VIRTIO_RING_F_EVENT_IDX)
| VhostUserVirtioFeatures::PROTOCOL_FEATURES.bits()
}