Documentation of what does for each type
This commit is contained in:
parent
1fca1ab0e7
commit
49e77dbf25
32 changed files with 41 additions and 0 deletions
|
|
@ -84,6 +84,7 @@ pub enum ErrorOutputType {
|
|||
}
|
||||
|
||||
impl Default for ErrorOutputType {
|
||||
/// Creates an `HumanReadble`, initialised with `ColorConfig` enum type `Auto`.
|
||||
fn default() -> ErrorOutputType {
|
||||
ErrorOutputType::HumanReadable(ColorConfig::Auto)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ pub struct TargetDataLayout {
|
|||
}
|
||||
|
||||
impl Default for TargetDataLayout {
|
||||
/// Creates an instance of `TargetDataLayout`.
|
||||
fn default() -> TargetDataLayout {
|
||||
TargetDataLayout {
|
||||
endian: Endian::Big,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue