<commit_before>{
  ".source.rust": {
    "break": {
      "prefix": "br",
      "body": "break;"
    },
    "continue": {
      "prefix": "con",
      "body": "continue;"
    },
    "else": {
      "prefix": "else",
      "body": "else {\n\t$1\n}"
    },
    "fn": {
      "prefix": "fn",
      "body": "fn ${1:ident}(${2:args}) {\n\t$3\n}"
    },
    "for-loop": {
      "prefix": "for",
      "body": "for ${1:pat} in ${2:expr} {\n\t$3\n}"
    },
    "enum": {
      "prefix": "enum",
      "body": "enum ${1:ident} {\n\t$2\n}"
    },
    "if": {
      "prefix": "if",
      "body": "if ${1:expr} {\n\t$2\n}"
    },
    "if-let": {
      "prefix": "iflet",
      "body": "if let ${1:pat} = ${2:expr} {\n\t$3\n}"
    },
    "impl": {
      "prefix": "impl",
      "body": "impl ${1:ty} {\n\t$2\n}"
    },
    "loop": {
      "prefix": "loop",
      "body": "loop {\n\t$1\n}"
    },
    "macro": {
      "prefix": "macro",
      "body": "macro_rules! ${1:ident} {\n\t($2) => ($3)\n}"
    },
    "main": {
      "prefix": "main",
      "body": "fn main() {\n\t$1\n}"
    },
    "match": {
      "prefix": "match",
      "body": "match ${1:expr} {\n\t${2:_ => ()},\n}"
    },
    "mod": {
      "prefix": "mod",
      "body": "mod ${1:ident} {\n\t$2\n}"
    },
    "return": {
      "prefix": "return",
      "body": "return ${1:expr};"
    },
    "struct": {
      "prefix": "struct",
      "body": "struct ${1:ident} {\n\t$2\n}"
    },
    "trait": {
      "prefix": "trait",
      "body": "trait ${1:ident} {\n\t$2\n}"
    },
    "unsafe": {
      "prefix": "unsafe",
      "body": "unsafe {\n\t$1\n}"
    },
    "while": {
      "prefix": "while",
      "body": "while ${1:expr} {\n\t$2\n}"<commit_msg>Add snippets for common macros<commit_after>{
  ".source.rust": {
    "break": {
      "prefix": "br",
      "body": "break;"
    },
    "continue": {
      "prefix": "con",
      "body": "continue;"
    },
    "else": {
      "prefix": "else",
      "body": "else {\n\t$1\n}"
    },
    "fn": {
      "prefix": "fn",
      "body": "fn ${1:ident}(${2:args}) {\n\t$3\n}"
    },
    "for-loop": {
      "prefix": "for",
      "body": "for ${1:pat} in ${2:expr} {\n\t$3\n}"
    },
    "format": {
      "prefix": "format",
      "body": "format!(\"${1:\\{\\}}\", ${2:value})$3"
    },
    "enum": {
      "prefix": "enum",
      "body": "enum ${1:ident} {\n\t$2\n}"
    },
    "if": {
      "prefix": "if",
      "body": "if ${1:expr} {\n\t$2\n}"
    },
    "if-let": {
      "prefix": "iflet",
      "body": "if let ${1:pat} = ${2:expr} {\n\t$3\n}"
    },
    "impl": {
      "prefix": "impl",
      "body": "impl ${1:ty} {\n\t$2\n}"
    },
    "loop": {
      "prefix": "loop",
      "body": "loop {\n\t$1\n}"
    },
    "macro": {
      "prefix": "macro",
      "body": "macro_rules! ${1:ident} {\n\t($2) => ($3)\n}"
    },
    "main": {
      "prefix": "main",
      "body": "fn main() {\n\t$1\n}"
    },
    "match": {
      "prefix": "match",
      "body": "match ${1:expr} {\n\t${2:_ => ()},\n}"
    },
    "mod": {
      "prefix": "mod",
      "body": "mod ${1:ident} {\n\t$2\n}"
    },
    "print": {
      "prefix": "print",
      "body": "print!(\"${1:\\{\\}}\", ${2:value});"
    },
    "println": {
      "prefix": "println",
      "body": "println!(\"${1:\\{\\}}\", ${2:value});"
    },
    "return": {
      "prefix": "return",
      "body": "return ${1:expr};"
    },
    "struct": {
      "prefix": "struct",
      "body": "struct ${1:ident} {\n\t$2\n}"
    },
    "trait": {
      "prefix": "trait",
      "body": "trait ${1:ident} {\n\t$2\n}"
    },
    "unsafe": {
      "prefix": "unsafe",
      "body": "unsafe {\n\t$1\n}"
    },
    "vec": {
      "prefix": "vec",
      "body": "vec![$1]$2"
    },
    "while": {
      "prefix": "while",
      "body": "while ${1:expr} {\n\t$2\n}"
{'fraction_non_alphanumeric': 0.30906701708278583, 'fraction_numerical': 0.01971090670170828, 'mean_word_length': 1.8402985074626865, 'pattern_counts': {'":': 128, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6674477', 'n_tokens_mistral': 1608, 'n_tokens_neox': 1597, 'n_words': 292}