Skip to contentSlop Block

no-commented-out-code

Warning

Delete code left in comments.

// #[derive(SimpleObject)]Delete this commented-out codestruct Video;
fn run() {	// let value = compute();Delete this commented-out code}
enum File {	// Video(Video),Delete this commented-out code	Image,}
// struct Video {}Delete this commented-out codefn run() {}
// ast-grep-ignore: no-commented-out-code-rust

How to fix

Git keeps the old version if you need it back.