X-Git-Url: https://git.r.bdr.sh/rbdr/tree-sitter-api-notation/blobdiff_plain/0e6205ebcb990fd57f5056c1cf5e9de1487be934..c5d81ecf5c440aa8eee2929ffcee8f52fd1daa38:/bindings/rust/lib.rs diff --git a/bindings/rust/lib.rs b/bindings/rust/lib.rs index 7bc923a..0bbddda 100644 --- a/bindings/rust/lib.rs +++ b/bindings/rust/lib.rs @@ -1,4 +1,4 @@ -//! This crate provides api-notation language support for the [tree-sitter][] parsing library. +//! This crate provides api_notation language support for the [tree-sitter][] parsing library. //! //! Typically, you will use the [language][language func] function to add this language to a //! tree-sitter [Parser][], and then use the parser to parse some code: @@ -6,7 +6,7 @@ //! ``` //! let code = ""; //! let mut parser = tree_sitter::Parser::new(); -//! parser.set_language(tree_sitter_api_notation::language()).expect("Error loading api-notation grammar"); +//! parser.set_language(tree_sitter_api_notation::language()).expect("Error loading api_notation grammar"); //! let tree = parser.parse(code, None).unwrap(); //! ``` //! @@ -47,6 +47,6 @@ mod tests { let mut parser = tree_sitter::Parser::new(); parser .set_language(super::language()) - .expect("Error loading api-notation language"); + .expect("Error loading api_notation language"); } }