Skip to content

Glossary: Rust Basics

Debug format

Also written: {:?}, {:#?}, Debug

A programmer's view of a value, printed with `{:?}` on one line or `{:#?}` spread over several lines. It is meant for checking what's inside, not for customers.

Where the book teaches it

Related terms

#[derive(Debug)]Placeholder