diff --git a/bindings/rust/lib.rs b/bindings/rust/lib.rs index 4add90e..c49b7bb 100644 --- a/bindings/rust/lib.rs +++ b/bindings/rust/lib.rs @@ -24,7 +24,9 @@ //! ``` //! let code = ""; //! let mut parser = tree_sitter::Parser::new(); -//! parser.set_language(tree_sitter_erlang::language()).expect("Error loading erlang grammar"); +//! parser +//! .set_language(tree_sitter_erlang::language()) +//! .expect("Error loading erlang grammar"); //! let tree = parser.parse(code, None).unwrap(); //! ``` //!