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 233c179 commit 1138b2eCopy full SHA for 1138b2e
src/lib.rs
@@ -52,7 +52,7 @@ impl PciAddress {
52
53
impl fmt::Display for PciAddress {
54
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
55
- write!(f, "{:02x}-{:02x}:{:02x}.{}", self.segment(), self.bus(), self.device(), self.function())
+ write!(f, "{:04x}:{:02x}:{:02x}.{}", self.segment(), self.bus(), self.device(), self.function())
56
}
57
58
0 commit comments