mirror of
https://codeberg.org/postscriptum/snac2nex.git
synced 2026-03-31 21:25:28 +00:00
remove debug construction
This commit is contained in:
parent
2c98766126
commit
f9df7c33c9
1 changed files with 1 additions and 4 deletions
|
|
@ -67,10 +67,7 @@ pub struct Config {
|
|||
|
||||
fn permissions(value: &str) -> Result<u32, std::num::ParseIntError> {
|
||||
if value.len() != 4 {
|
||||
todo!(
|
||||
"Expected four octal digits as the Unix value {}!",
|
||||
value.len()
|
||||
)
|
||||
todo!("Expected four octal digits as the Unix value!")
|
||||
}
|
||||
u32::from_str_radix(value, 8)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue