comprehensive-rust icon indicating copy to clipboard operation
comprehensive-rust copied to clipboard

Run clippy on code examples

Open qwandor opened this issue 2 years ago • 1 comments

Running it on the code in Cargo workspaces should be straightforward. It is unclear how to do so on inline code samples.

qwandor avatar Mar 15 '23 10:03 qwandor

It is unclear how to do so on inline code samples.

Yeah, for that we would need to extend mdbook test — or perhaps this could be something we could extend mdbook-keeper (see #175) to do? I've talked with the mdbook authors before about extending and improving mdbook test, and I get the impression that they would prefer to offload the testing functionality.

mgeisler avatar Mar 19 '23 15:03 mgeisler