File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ pub struct Packet {
24
24
25
25
impl Default for Packet {
26
26
fn default ( ) -> Packet {
27
- return Packet {
27
+ Packet {
28
28
time : 0 ,
29
29
direction : SerialDirection :: SEND ,
30
30
payload : "" . to_string ( ) ,
31
- } ;
31
+ }
32
32
}
33
33
}
34
34
@@ -41,10 +41,10 @@ pub struct DataContainer {
41
41
42
42
impl Default for DataContainer {
43
43
fn default ( ) -> DataContainer {
44
- return DataContainer {
44
+ DataContainer {
45
45
time : vec ! [ ] ,
46
46
dataset : vec ! [ vec![ ] ] ,
47
47
raw_traffic : vec ! [ ] ,
48
- } ;
48
+ }
49
49
}
50
50
}
Original file line number Diff line number Diff line change @@ -53,13 +53,13 @@ pub struct GuiSettingsContainer {
53
53
54
54
impl GuiSettingsContainer {
55
55
pub fn default ( ) -> GuiSettingsContainer {
56
- return GuiSettingsContainer {
56
+ GuiSettingsContainer {
57
57
device : "" . to_string ( ) ,
58
58
baud : 115_200 ,
59
59
debug : true ,
60
60
x : 1600.0 ,
61
61
y : 900.0 ,
62
- } ;
62
+ }
63
63
}
64
64
}
65
65
You can’t perform that action at this time.
0 commit comments