Skip to main content

expect_comment

Function expect_comment 

Source
fn expect_comment(stmt: Statement<Raw>) -> Result<CommentStatement<Raw>, ()>
Expand description

Extract a CommentStatement from a generic Statement, or Err(()).