mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-20 08:01:42 +03:00
fmt
This commit is contained in:
parent
ef8d0415e7
commit
8e0a59dc5d
@ -296,7 +296,8 @@ impl ParserContext<'_> {
|
|||||||
|
|
||||||
// Parse variable names.
|
// Parse variable names.
|
||||||
let variable_names = if self.peek_is_left_par() {
|
let variable_names = if self.peek_is_left_par() {
|
||||||
let vars = self.parse_paren_comma_list(|p| p.parse_variable_name(&declare).map(Some))
|
let vars = self
|
||||||
|
.parse_paren_comma_list(|p| p.parse_variable_name(&declare).map(Some))
|
||||||
.map(|(vars, ..)| vars)?;
|
.map(|(vars, ..)| vars)?;
|
||||||
|
|
||||||
if vars.len() == 1 {
|
if vars.len() == 1 {
|
||||||
|
Loading…
Reference in New Issue
Block a user