remove debug construction

This commit is contained in:
postscriptum 2025-07-05 23:04:25 +03:00
parent 2c98766126
commit f9df7c33c9

View file

@ -67,10 +67,7 @@ pub struct Config {
fn permissions(value: &str) -> Result<u32, std::num::ParseIntError> { fn permissions(value: &str) -> Result<u32, std::num::ParseIntError> {
if value.len() != 4 { if value.len() != 4 {
todo!( todo!("Expected four octal digits as the Unix value!")
"Expected four octal digits as the Unix value {}!",
value.len()
)
} }
u32::from_str_radix(value, 8) u32::from_str_radix(value, 8)
} }