Skip to content

Commit 0806a70

Browse files
authored
refactor: Remove type name from SizeType Display output. (#315)
1 parent cb634b9 commit 0806a70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ pub struct SizeType(tsk_size_t);
262262

263263
impl std::fmt::Display for SizeType {
264264
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
265-
write!(f, "SizeType({})", self.0)
265+
write!(f, "{}", self.0)
266266
}
267267
}
268268

0 commit comments

Comments
 (0)