rustfmt
This commit is contained in:
parent
ae33efcc30
commit
f69bbb3b69
@ -79,10 +79,13 @@ pub(crate) fn register(f: &mut HashMap<String, Builtin>) {
|
||||
"inspect".to_owned(),
|
||||
Box::new(|args, _| {
|
||||
max_args!(args, 1);
|
||||
Ok(Value::Ident(match arg!(args, 0, "value") {
|
||||
Value::List(v, ..) if v.is_empty() => "()".to_string(),
|
||||
v => v.to_string(),
|
||||
}, QuoteKind::None))
|
||||
Ok(Value::Ident(
|
||||
match arg!(args, 0, "value") {
|
||||
Value::List(v, ..) if v.is_empty() => "()".to_string(),
|
||||
v => v.to_string(),
|
||||
},
|
||||
QuoteKind::None,
|
||||
))
|
||||
}),
|
||||
);
|
||||
f.insert(
|
||||
|
@ -129,7 +129,7 @@ pub(crate) fn read_until_closing_quote<I: Iterator<Item = Token>>(
|
||||
TokenKind::Symbol(Symbol::BackSlash) if !is_escaped => {
|
||||
t.push(tok);
|
||||
is_escaped = true
|
||||
},
|
||||
}
|
||||
TokenKind::Symbol(Symbol::BackSlash) => {
|
||||
is_escaped = false;
|
||||
t.push(tok);
|
||||
|
Loading…
x
Reference in New Issue
Block a user