Fixed tuple pattern
This commit is contained in:
@@ -139,7 +139,7 @@ multi_pat_template = _{
|
|||||||
}
|
}
|
||||||
|
|
||||||
tuple_pattern = {
|
tuple_pattern = {
|
||||||
"[" ~ multi_pat_template ~ "]"
|
"[" ~ pattern ~ "," ~ multi_pat_template ~ "]"
|
||||||
}
|
}
|
||||||
|
|
||||||
named_tuple_pattern = {
|
named_tuple_pattern = {
|
||||||
|
|||||||
+1
-1
@@ -102,4 +102,4 @@ void inject_mist_target(bool is_lib) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
fs::write("Cargo.toml", toml_content+inject).expect("Failed to inject to Cargo.toml");
|
fs::write("Cargo.toml", toml_content+inject).expect("Failed to inject to Cargo.toml");
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user