We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfbdd2b commit 6c9c890Copy full SHA for 6c9c890
rust/ql/test/library-tests/type-inference/main.rs
@@ -2229,12 +2229,13 @@ mod explicit_type_args {
2229
}
2230
2231
mod tuples {
2232
- struct S1 {
2233
- }
+ struct S1 {}
2234
2235
impl S1 {
2236
- fn get_pair() -> (S1, S1) { (S1 {}, S1 {}) }
2237
- fn foo(self) { }
+ fn get_pair() -> (S1, S1) {
+ (S1 {}, S1 {})
+ }
2238
+ fn foo(self) {}
2239
2240
2241
pub fn f() {
0 commit comments