rustfmt v0.5.0

This commit is contained in:
Jakob Stoklund Olesen
2016-07-01 14:26:24 -07:00
parent 8e1de5c0f8
commit 320d5b369a
3 changed files with 10 additions and 10 deletions

View File

@@ -148,8 +148,8 @@ impl Function {
// Update the second_result pointer in `inst`.
if head != NO_VALUE {
*self.inst_mut(inst)
.second_result_mut()
.expect("instruction format doesn't allow multiple results") = head;
.second_result_mut()
.expect("instruction format doesn't allow multiple results") = head;
}
*self.inst_mut(inst).first_type_mut() = first_type;

View File

@@ -66,7 +66,7 @@ pub const B64: Type = Type(11);
impl Type {
/// Get the lane type of this SIMD vector type.
///
///
/// A scalar type is the same as a SIMD vector type with one lane, so it returns itself.
pub fn lane_type(self) -> Type {
Type(self.0 & 0x0f)