cursorless
cursorless copied to clipboard
Rust functions don't include annotations
In the following function:
#[test]
fn test_revset_parse_parentheses() -> eyre::Result<()> {
insta::assert_debug_snapshot!(parse("((foo()))"), @r###"
Ok(
FunctionCall(
"foo",
[],
),
)
"###);
Ok(())
}
Using the funk modifier does not include the line #[test]. For consistency with python, where we include decorators, this line should be included