Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
style(ast_tools): fix formatting (#6673)
  • Loading branch information
overlookmotel committed Oct 19, 2024
commit a47b38ff1a22c8852a8dba63d4bb01f61dd98aa6
2 changes: 1 addition & 1 deletion tasks/ast_tools/src/derives/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ macro_rules! define_derive {
let prelude = Self::prelude();

// from `x::y::z` to `crate::y::z::*`
let use_modules = module_paths.into_iter().map(|it|{
let use_modules = module_paths.into_iter().map(|it| {
let local_path = ["crate"]
.into_iter()
.chain(it.strip_suffix("::mod").unwrap_or(it).split("::").skip(1))
Expand Down