Rustfmt and update docs

This commit is contained in:
bjorn3
2020-10-01 09:53:23 +02:00
parent 9ccf837092
commit b061694491
7 changed files with 15 additions and 15 deletions

View File

@@ -50,7 +50,8 @@ pub struct DataDescription {
pub data_relocs: Vec<(CodeOffset, ir::GlobalValue, Addend)>,
/// Object file section
pub custom_segment_section: Option<(String, String)>,
/// Alignment
/// Alignment in bytes. `None` means that the default alignment of the respective module should
/// be used.
pub align: Option<u64>,
}

View File

@@ -142,7 +142,7 @@ impl FunctionDeclaration {
}
}
/// Error messages for all `Module` and `Backend` methods
/// Error messages for all `Module` methods
#[derive(Error, Debug)]
pub enum ModuleError {
/// Indicates an identifier was used before it was declared