diff --git a/src/program.rs b/src/program.rs index b06b16e..7bec077 100644 --- a/src/program.rs +++ b/src/program.rs @@ -234,7 +234,7 @@ impl InnerContext { #[derive(Debug, Clone)] pub struct Context<'a> { tool: Tool, - program: Arc> + program: Arc>, } impl<'a> Context<'a> { @@ -430,7 +430,10 @@ impl Program { /// ``` pub fn context(&mut self, tool: Tool) -> Context { self.create_context_if_missing_for_tool(&tool); - Context { tool, program: Arc::new(Mutex::new(self)) } + Context { + tool, + program: Arc::new(Mutex::new(self)), + } } /// This is the main way of adding cuts to a program. @@ -730,7 +733,6 @@ mod tests { ); } - #[test] #[allow(deprecated)] fn test_program_extend() -> Result<()> {