Skip to content

Commit 837ee04

Browse files
committed
disk: Fix comment
Signed-off-by: Ikey Doherty <[email protected]>
1 parent 2ae45a6 commit 837ee04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/disks/src/disk.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub enum Disk {
2727
impl Deref for Disk {
2828
type Target = BasicDisk;
2929

30-
// Let scsi and nvme disks deref to BasicDisk
30+
// Let disks deref to BasicDisk to eliminate code duplication
3131
fn deref(&self) -> &Self::Target {
3232
match self {
3333
Disk::Mmc(disk) => disk,

0 commit comments

Comments
 (0)