VYAJZ7DE2LTJJRBPB4L64TN2HNYTM3PEH5B25TLHNIXB4CXF22AAC
let toml = toml::to_string_pretty(&header)?;
loop {
let bytes = edit::edit_bytes(toml.as_bytes())?;
if let Ok(header) = toml::from_slice(&bytes) {
return Ok(header);
if header.message.is_empty() {
let toml = toml::to_string_pretty(&header)?;
loop {
let bytes = edit::edit_bytes(toml.as_bytes())?;
if let Ok(header) = toml::from_slice(&bytes) {
return Ok(header);
}