Skip to content

Commit

Permalink
Doc - Describe setup_hint_processor using Rustdoc comments (three sl…
Browse files Browse the repository at this point in the history
…ashes: ///) open-dust#58
  • Loading branch information
Johan de Maury committed Jan 9, 2023
1 parent 759e51d commit 041dc52
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/cli/commands/test/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@ impl Display for TestOutput {
}
}


/// Create a `BuiltinHintProcessor` object with those three
/// extra hints :
/// - skip hint, [cf src/hints/skip.rs]
/// - expect_revert hint [cf src/hints/expect_revert/mod.rs]
/// - and mock_call hint [cf src/hints/mock_call.rs]
///
fn setup_hint_processor() -> BuiltinHintProcessor {
let skip_hint = Rc::new(HintFunc(Box::new(hints::skip)));
let mock_call_hint = Rc::new(HintFunc(Box::new(hints::mock_call)));
Expand Down

0 comments on commit 041dc52

Please sign in to comment.