snippets: add-function-example: inject: false strip_prefix: /// content: |- /// ```rust /// let result = add(3, 5); /// assert_eq!(result, 8); /// ``` // add-function-with-description: inject: false strip_prefix: null content: |- /// Adds two integers and returns the result. /// /// # Arguments /// /// * `a` - An integer to be added. /// * `b` - Another integer to be added. /// /// # Returns /// /// An integer that is the sum of `a` and `b`. /// /// # Examples // /// ```rust /// let result = add(3, 5); /// assert_eq!(result, 8); /// ``` // fn add(a: i32, b: i32) -> i32 { a + b } // create-db: inject: false strip_prefix: null content: |2- ```sh snipgrep create-db ``` inject: inject: false strip_prefix: null content: |2- ```sh snipgrep run ``` rust-print: inject: false strip_prefix: null content: |- fn main() { println!("Welcome to snipgrep") } //