Commit dafd641 1 parent d57db77 commit dafd641 Copy full SHA for dafd641
File tree 1 file changed +0
-6
lines changed
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ use std::io::Read;
4
4
5
5
#[ derive( Clone , Debug ) ]
6
6
pub struct Ui {
7
- pub nan_err : [ String ; 2 ] ,
8
7
pub insert_num : String ,
9
8
pub convert_btn : String ,
10
9
pub clear_btn : String ,
@@ -20,10 +19,6 @@ pub struct Digits {
20
19
impl Ui {
21
20
pub fn new ( src : & str ) -> Self {
22
21
let lines = src. split ( "\n " ) ;
23
- let mut ne = [
24
- String :: from ( "nan_err 0 not set!" ) ,
25
- String :: from ( "nan_err 1 not set!" ) ,
26
- ] ;
27
22
let mut cvtb = String :: from ( "convert_btn not set!" ) ;
28
23
let mut cltb = String :: from ( "clear_btn not set!" ) ;
29
24
let mut ins = String :: from ( "insert_num not set!" ) ;
@@ -47,7 +42,6 @@ impl Ui {
47
42
}
48
43
// generate the new ui struct
49
44
Ui {
50
- nan_err : ne,
51
45
insert_num : ins,
52
46
convert_btn : cvtb,
53
47
clear_btn : cltb,
You can’t perform that action at this time.
0 commit comments