Skip to content

Commit e59e646

Browse files
committed
chore: make dead code validator happy
1 parent ec47c21 commit e59e646

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/block_storage/volumes.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ impl From<Volume> for VolumeRef {
447447
#[cfg(feature = "block-storage")]
448448
impl VolumeRef {
449449
/// Verify this reference and convert to an ID, if possible.
450+
#[allow(dead_code)]
450451
pub(crate) async fn into_verified(self, session: &Session) -> Result<VolumeRef> {
451452
Ok(if self.verified {
452453
self

src/image/images.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ impl From<Image> for ImageRef {
260260
#[cfg(feature = "image")]
261261
impl ImageRef {
262262
/// Verify this reference and convert to an ID, if possible.
263+
#[allow(dead_code)]
263264
pub(crate) async fn into_verified(self, session: &Session) -> Result<ImageRef> {
264265
Ok(if self.verified {
265266
self

0 commit comments

Comments
 (0)