Formatting

This commit is contained in:
Wyatt Herkamp 2024-03-15 11:15:02 -04:00
parent f499564d0a
commit 4bd2f948bb
2 changed files with 2 additions and 5 deletions

View file

@ -17,8 +17,6 @@ use crate::macro_call_as_call_id_with_eager;
use crate::nameres::mod_resolution::ModDir;
use crate::item_tree::ItemTree;
use base_db::{CrateId, Dependency, FileId};
use cfg::{CfgExpr, CfgOptions};
use crate::item_tree::TreeId;

View file

@ -553,8 +553,7 @@ fn macro_expand(
let (ExpandResult { value: tt, err }, span) = match loc.def.kind {
MacroDefKind::ProcMacro(..) => return db.expand_proc_macro(macro_call_id).map(CowArc::Arc),
_ => {
let (macro_arg, undo_info, span) =
smart_macro_arg(db, macro_call_id);
let (macro_arg, undo_info, span) = smart_macro_arg(db, macro_call_id);
let arg = &*macro_arg;
let res =