cargo-inspect 0.10.3

This extends Cargo to allow you to desugar your Rust code and see what happens behind the curtains.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// Comments in threads won't appear at the expected position
/// See for yourself by running `cargo inspect` on this file.

use std::thread;
use std::time::Duration;

fn main() {
    thread::spawn(|| {
        // Above for loop
        for i in 1..10 {
            // Above println
            println!("hi number {} from the spawned thread!", i);

            // Above thread::sleep
            thread::sleep(Duration::from_millis(1));
        }
    });
}