From 887451a2eb87d3f6aada3670964bbd074c3d0b1a Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 24 Dec 2018 09:32:50 -0800 Subject: [PATCH] Fix formatting. --- lib/frontend/src/frontend.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/frontend/src/frontend.rs b/lib/frontend/src/frontend.rs index ad1e872172..74a3e5990b 100644 --- a/lib/frontend/src/frontend.rs +++ b/lib/frontend/src/frontend.rs @@ -367,7 +367,9 @@ impl<'a> FunctionBuilder<'a> { /// 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. 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"); FuncInstBuilder::new(self, ebb) }