From f5840bdcd360ec0bac2501f333e58e25742b1537 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 27 Jan 2023 10:43:16 -0500 Subject: chore: upgrade to Rust 1.67 (#17548) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- core/examples/schedule_task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/examples/schedule_task.rs') diff --git a/core/examples/schedule_task.rs b/core/examples/schedule_task.rs index 6a61619d8..56c8f6dd6 100644 --- a/core/examples/schedule_task.rs +++ b/core/examples/schedule_task.rs @@ -65,7 +65,7 @@ fn main() { #[op] fn op_schedule_task(state: &mut OpState, i: u8) -> Result<(), Error> { let tx = state.borrow_mut::>(); - tx.unbounded_send(Box::new(move || println!("Hello, world! x{}", i))) + tx.unbounded_send(Box::new(move || println!("Hello, world! x{i}"))) .expect("unbounded_send failed"); Ok(()) } -- cgit v1.2.3