File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ fn test_serialize() -> Result<(), Box<dyn std::error::Error>> {
1919 #[ derive( Serialize ) ]
2020 struct MyUserData ( i64 , String ) ;
2121
22- impl UserData for MyUserData { } ;
22+ impl UserData for MyUserData { }
2323
2424 let lua = Lua :: new ( ) ;
2525 let globals = lua. globals ( ) ;
@@ -81,7 +81,7 @@ fn test_serialize_in_scope() -> LuaResult<()> {
8181 #[ derive( Serialize , Clone ) ]
8282 struct MyUserData ( i64 , String ) ;
8383
84- impl UserData for MyUserData { } ;
84+ impl UserData for MyUserData { }
8585
8686 let lua = Lua :: new ( ) ;
8787 lua. scope ( |scope| {
@@ -112,7 +112,7 @@ fn test_serialize_failure() -> Result<(), Box<dyn std::error::Error>> {
112112 #[ derive( Serialize ) ]
113113 struct MyUserData ( i64 ) ;
114114
115- impl UserData for MyUserData { } ;
115+ impl UserData for MyUserData { }
116116
117117 let lua = Lua :: new ( ) ;
118118
@@ -148,7 +148,7 @@ fn test_to_value_struct() -> LuaResult<()> {
148148 name : String ,
149149 key : i64 ,
150150 data : Option < bool > ,
151- } ;
151+ }
152152
153153 let test = Test {
154154 name : "alex" . to_string ( ) ,
@@ -178,7 +178,7 @@ fn test_to_value_enum() -> LuaResult<()> {
178178 name : String ,
179179 key : i64 ,
180180 data : Option < bool > ,
181- } ;
181+ }
182182
183183 let test = Test {
184184 name : "alex" . to_string ( ) ,
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ fn test_user_data() -> Result<()> {
2525 struct UserData1 ( i64 ) ;
2626 struct UserData2 ( Box < i64 > ) ;
2727
28- impl UserData for UserData1 { } ;
29- impl UserData for UserData2 { } ;
28+ impl UserData for UserData1 { }
29+ impl UserData for UserData2 { }
3030
3131 let lua = Lua :: new ( ) ;
3232 let userdata1 = lua. create_userdata ( UserData1 ( 1 ) ) ?;
You can’t perform that action at this time.
0 commit comments