From f1d6a02dd2dd01c31be53e28499d62979aebf85c Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Sun, 18 Dec 2022 12:57:01 +1100 Subject: [PATCH] unused features/allows --- src/main.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index 1d0ebee..4173562 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,8 +1,4 @@ -#![allow(incomplete_features)] #![allow(dead_code)] -#![feature(adt_const_params)] -#![feature(generic_arg_infer)] -#![feature(generic_const_exprs)] use std::{ fmt::{self, Debug, Display}, @@ -415,7 +411,7 @@ fn main() { println!("Writing {} to offset {}", val, offset); modbus .write_register(EEPROM_BEGIN as u16 + offset, val) - .expect("could not set value"); + .expect("could not set va lue"); } None => { println!("No modbus device connected");