Rust fmt fixes

This commit is contained in:
Carlo Kok
2020-06-17 06:46:58 +02:00
parent 0b613caad1
commit b2549d1fde
3 changed files with 9 additions and 6 deletions

View File

@@ -284,7 +284,9 @@ impl Backend for ObjectBackend {
self.object.section_id(section_kind)
} else {
if tls {
return Err(cranelift_module::ModuleError::Backend(anyhow::anyhow!("Custom section not supported for TLS")));
return Err(cranelift_module::ModuleError::Backend(anyhow::anyhow!(
"Custom section not supported for TLS"
)));
}
let (seg, sec) = &custom_segment_section.as_ref().unwrap();
self.object.add_section(