Followups from #371 (#435)

Implements the changes I suggested in that PR, which are related to
naming conventions and documentation.
This commit is contained in:
Tony Arcieri (iqlusion)
2022-11-12 16:41:58 -07:00
committed by GitHub
parent 7470b1613a
commit 603b102932
2 changed files with 47 additions and 27 deletions
+2 -2
View File
@@ -280,11 +280,11 @@ fn test_slot_id_display() {
assert_eq!(format!("{}", SlotId::Retired(RetiredSlotId::R20)), "R20");
assert_eq!(
format!("{}", SlotId::Management(ManagementSlotId::PIN)),
format!("{}", SlotId::Management(ManagementSlotId::Pin)),
"PIN"
);
assert_eq!(
format!("{}", SlotId::Management(ManagementSlotId::PUK)),
format!("{}", SlotId::Management(ManagementSlotId::Puk)),
"PUK"
);
assert_eq!(