Closed lambda-fairy closed 2 years ago
itoa
optimizationminiserve
miniserve
needs this patch:
diff --git a/src/renderer.rs b/src/renderer.rs
index ba2c4e6..72ff602 100644
--- a/src/renderer.rs
+++ b/src/renderer.rs
@@ -423,7 +423,7 @@ fn entry_row(
@if !raw {
@if let Some(size) = entry.size {
span.mobile-info.size {
- (size)
+ (maud::display(size))
}
}
}
@@ -432,7 +432,7 @@ fn entry_row(
}
td.size-cell {
@if let Some(size) = entry.size {
- (size)
+ (maud::display(size))
}
}
td.date-cell {
Closes #271
How to migrate
If you have code that uses a
Display
impl, like so:Then change it to use
maud::display
(#350):