Skip to main content

block_comment

Function block_comment 

Source
pub fn block_comment(input: &str) -> IResult<&str, &str>
Expand description

Match a C-style comment

use rust_lcm_codegen::parser::block_comment;

assert_eq!(block_comment("/* test */"), Ok(("", " test ")));