From 8d93f7497e9fcd9b76c8e8291802ab5eb261d00d Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Mon, 29 Aug 2022 19:50:10 +0200 Subject: [PATCH] is_media_preset -> is_media_present in BlockIOMedia --- src/proto/media/block.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proto/media/block.rs b/src/proto/media/block.rs index f3e964045..b95ba9807 100644 --- a/src/proto/media/block.rs +++ b/src/proto/media/block.rs @@ -138,7 +138,7 @@ impl BlockIOMedia { } /// True if there is a media currently present in the device. - pub fn is_media_preset(&self) -> bool { + pub fn is_media_present(&self) -> bool { self.media_present }