RS.CLIPPY.TODO

`todo!` should not be present in production code

This checker is a Clippy lint created by The Rust Project Contributors. The documentation shown here is a copy of the original documentation for: todo. Copyright ©2025 The Rust Team. All rights reserved.

What it does

Checks for usage of todo!.

Why restrict this?

The todo! macro indicates the presence of unfinished code, so it should not be present in production code.

Example

todo!();

Finish the implementation, or consider marking it as explicitly unimplemented.

unimplemented!();