{"ast_node_type":"function","tokens":[{"end":75,"kind":"keyword","start":0,"text":"pub"}]}
pub fn valid_ret_activity(mode: DiffMode, activity: DiffActivity) -> bool {
/// but this is too complex to verify here. Also it's just a logic error if users get this wrong.
    if activity == DiffActivity::None {