2 ms·
If you write an example in Rust for example, the Rust test subsystem will assume (unless you explicitly say otherwise) that your example should work, so, it get
by tialaramex 3y ago
If you write an example in Rust for example, the Rust test subsystem will assume (unless you explicitly say otherwise) that your example should work, so, it gets the same treatment as any other tests. After all, an example which doesn't work is trash.
But yes, generally the text you write in a comment isn't contemplated by the compiler.