We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89d1a62 commit 7a704d8Copy full SHA for 7a704d8
src/states.rs
@@ -186,13 +186,15 @@ pub(crate) mod sealed {
186
/// Invoking with an ext and DB type will use the provided ext type and the
187
/// static lifetime:
188
///
189
-/// ```no_compile
+/// ```
190
+/// # mod t {
191
/// # use trevm::trevm_aliases;
192
/// # use revm::db::InMemoryDB;
-///
193
+/// # pub struct SomeExtType;
194
/// // produces types that look like this:
195
/// // type EvmNeedsCfg = trevm::EvmNeedsCfg<'static, SomeExtType, InMemoryDB>;
196
/// trevm_aliases!(SomeExtType, InMemoryDB);
197
+/// # }
198
/// ```
199
200
/// To add a lifetime to the ext type, add the word lifetime:
0 commit comments