fix up generated rust bindings

pull/361/head
Yuya Nishihara 2021-12-22 17:55:14 +07:00
parent cf1d2209a3
commit 9a59660531
2 changed files with 6 additions and 6 deletions

@ -1,8 +1,8 @@
[package]
name = "tree-sitter-qmljs"
description = "qmljs grammar for the tree-sitter parsing library"
version = "0.0.1"
keywords = ["incremental", "parsing", "qmljs"]
description = "QML grammar for the tree-sitter parsing library"
version = "0.0.0"
keywords = ["incremental", "parsing", "qml"]
categories = ["parsing", "text-editors"]
repository = "https://github.com/tree-sitter/tree-sitter-qmljs"
edition = "2018"

@ -1,4 +1,4 @@
//! This crate provides qmljs language support for the [tree-sitter][] parsing library.
//! This crate provides QML 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_qmljs::language()).expect("Error loading qmljs grammar");
//! parser.set_language(tree_sitter_qmljs::language()).expect("Error loading QML 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 qmljs language");
.expect("Error loading QML language");
}
}