diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2023-11-13 08:24:55 -0500 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2023-11-15 21:45:48 -0500 |
| commit | 917f6540edc20de22e1fb3069e7b325209109350 (patch) | |
| tree | a5a01f5b18db8bd67675a4c1f6a98867333aad96 /compiler/rustc_macros/src | |
| parent | db3e2bacb69c068fd9262a3aadd961ea2f7f940e (diff) | |
| download | rust-917f6540edc20de22e1fb3069e7b325209109350.tar.gz rust-917f6540edc20de22e1fb3069e7b325209109350.zip | |
Re-format code with new rustfmt
Diffstat (limited to 'compiler/rustc_macros/src')
| -rw-r--r-- | compiler/rustc_macros/src/symbols.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_macros/src/symbols.rs b/compiler/rustc_macros/src/symbols.rs index 3de4a904e5f..488d4504a2d 100644 --- a/compiler/rustc_macros/src/symbols.rs +++ b/compiler/rustc_macros/src/symbols.rs @@ -85,7 +85,9 @@ impl Parse for Value { } } Expr::Macro(expr) => { - if expr.mac.path.is_ident("env") && let Ok(lit) = expr.mac.parse_body() { + if expr.mac.path.is_ident("env") + && let Ok(lit) = expr.mac.parse_body() + { return Ok(Value::Env(lit, expr.mac.clone())); } } |
