Skip to content

Commit

Permalink
complete rustc example
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacherr committed Jul 4, 2024
1 parent fda3bb6 commit 9cd2956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assyst-core/src/command/misc/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ fn main() {
access = Availability::Dev,
category = Category::Misc,
usage = "[script]",
examples = ["run(\"fn main() {}\", |tcx| "],
examples = ["run(\"fn main() {}\", |tcx| { dbg!(tcx.hir().root_module()); });"],
send_processing = true,
)]
pub async fn rustc(ctxt: CommandCtxt<'_>, script: Codeblock) -> anyhow::Result<()> {
Expand Down

0 comments on commit 9cd2956

Please sign in to comment.