style: change fmt from empty str to "unlimited"

This commit is contained in:
nnethercott 2025-05-13 12:16:34 +02:00
parent 15cdc6924b
commit e96c1d4b0f

View File

@ -852,7 +852,7 @@ impl fmt::Display for MaxThreads {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match self.0 { match self.0 {
Some(threads) => write!(f, "{}", threads), Some(threads) => write!(f, "{}", threads),
None => Ok(()), None => write!(f, "unlimited"),
} }
} }
} }