Fix formatting.

This commit is contained in:
Dan Gohman
2018-12-24 09:32:50 -08:00
parent 998a7d2b6d
commit 887451a2eb

View File

@@ -367,7 +367,9 @@ impl<'a> FunctionBuilder<'a> {
/// Returns an object with the [`InstBuilder`](../codegen/ir/builder/trait.InstBuilder.html) /// Returns an object with the [`InstBuilder`](../codegen/ir/builder/trait.InstBuilder.html)
/// trait that allows to conveniently append an instruction to the current `Ebb` being built. /// trait that allows to conveniently append an instruction to the current `Ebb` being built.
pub fn ins<'short>(&'short mut self) -> FuncInstBuilder<'short, 'a> { pub fn ins<'short>(&'short mut self) -> FuncInstBuilder<'short, 'a> {
let ebb = self.position.ebb let ebb = self
.position
.ebb
.expect("Please call switch_to_block before inserting instructions"); .expect("Please call switch_to_block before inserting instructions");
FuncInstBuilder::new(self, ebb) FuncInstBuilder::new(self, ebb)
} }