/// scope.
///
/// ### Example
- /// ```rust,compile_fail
+ ///
+ /// ```rust
/// struct SomeStruct;
/// impl Drop for SomeStruct {
/// fn drop(&mut self) {
/// of at end of scope, which is typically incorrect.
///
/// ### Example
- /// ```compile_fail
+ /// ```rust,compile_fail
/// use std::sync::{Arc, Mutex};
/// use std::thread;
/// let data = Arc::new(Mutex::new(0));