]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_typeck/src/mem_categorization.rs
fix most compiler/ doctests
[rust.git] / compiler / rustc_typeck / src / mem_categorization.rs
index 85e9a670ffbf16de5502c2a581ec0ccb3a9c8e90..3d7b6593a645559c19452d2138e10de5a3c398e2 100644 (file)
@@ -9,12 +9,12 @@
 //! expressions of the following forms (the actual enum has many more
 //! possibilities, naturally, but they are all variants of these base
 //! forms):
-//!
-//!     E = rvalue    // some computed rvalue
-//!       | x         // address of a local variable or argument
-//!       | *E        // deref of a ptr
-//!       | E.comp    // access to an interior component
-//!
+//! ```ignore (not-rust)
+//! E = rvalue    // some computed rvalue
+//!   | x         // address of a local variable or argument
+//!   | *E        // deref of a ptr
+//!   | E.comp    // access to an interior component
+//! ```
 //! Imagine a routine ToAddr(Expr) that evaluates an expression and returns an
 //! address where the result is to be found. If Expr is a place, then this
 //! is the address of the place. If `Expr` is an rvalue, this is the address of