about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide/examples/rustc-driver-example.rs
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2025-03-30 00:31:44 +0200
committerTshepang Mbambo <tshepang@gmail.com>2025-03-30 00:31:44 +0200
commit9302f4d94f97750e84a47eaf5ac180feaaaafa3a (patch)
treee6a93be13e64f33c1ef209d95f89e1dd023c429d /src/doc/rustc-dev-guide/examples/rustc-driver-example.rs
parent69f51ea190d3a30d7e14c64d69fd56f8a539ed48 (diff)
downloadrust-9302f4d94f97750e84a47eaf5ac180feaaaafa3a.tar.gz
rust-9302f4d94f97750e84a47eaf5ac180feaaaafa3a.zip
add rustfmt settings file
Diffstat (limited to 'src/doc/rustc-dev-guide/examples/rustc-driver-example.rs')
-rw-r--r--src/doc/rustc-dev-guide/examples/rustc-driver-example.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/examples/rustc-driver-example.rs b/src/doc/rustc-dev-guide/examples/rustc-driver-example.rs
index 0e3450086ba..db6ac185785 100644
--- a/src/doc/rustc-dev-guide/examples/rustc-driver-example.rs
+++ b/src/doc/rustc-dev-guide/examples/rustc-driver-example.rs
@@ -20,7 +20,7 @@ use std::path::Path;
 use std::sync::Arc;
 
 use rustc_ast_pretty::pprust::item_to_string;
-use rustc_driver::{run_compiler, Compilation};
+use rustc_driver::{Compilation, run_compiler};
 use rustc_interface::interface::{Compiler, Config};
 use rustc_middle::ty::TyCtxt;