Syntax Hunter

Basic syntax error resolution.

dills122 Updated 0 repo stars

File contents

  1. Semicolons: Did you forget a ; at the end of a statement?
    • Note: The last expression in a block returns a value (no semicolon).
  2. Braces: Are {} matching?
  3. Turbofish: Are you calling a generic function? Use ::<>, e.g., collect::<Vec<_>>().
  4. Lifetimes: 'a syntax usage vs declaration.

dills122/ai-central commit dcaa9aab85

Frequently asked questions

npx get-skill add dills122/syntax-hunter-2