We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ae45a6 commit 837ee04Copy full SHA for 837ee04
crates/disks/src/disk.rs
@@ -27,7 +27,7 @@ pub enum Disk {
27
impl Deref for Disk {
28
type Target = BasicDisk;
29
30
- // Let scsi and nvme disks deref to BasicDisk
+ // Let disks deref to BasicDisk to eliminate code duplication
31
fn deref(&self) -> &Self::Target {
32
match self {
33
Disk::Mmc(disk) => disk,
0 commit comments