Skip to content

Commit df14db7

Browse files
committed
chore: Fix docs build.
1 parent 236964d commit df14db7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
[![codecov](https://codecov.io/gh/rs-tml/rstml/branch/main/graph/badge.svg?token=2LMJ8YEV92)](https://codecov.io/gh/rs-tml/rs-tml)
66
![build](https://github.com/rs-tml/rstml/workflows/ci/badge.svg)
77
![license: MIT](https://img.shields.io/crates/l/rstml.svg)
8-
9-
Rust templating parser for JSX-like [`TokenStream`]s, aka RSX. The parsed result is a nested `Node` structure, similar to the browser DOM, where node name and value are syn expressions to support building proc macros.
8+
Rust templating for XML-based formats (HTML, SVG, MathML) implemented on top of [`proc-macro::TokenStream`]s.
9+
Similar to JSX but for Rust (commonly named RSX).The parsed result is a nested `Node` structure, similar to the browser DOM, where node name and value are syn expressions to support building proc macros.
1010

1111
The fork of original [syn-rsx](https://github.com/stoically/syn-rsx) repo.
1212
It was created because of various reasons:

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ pub use config::ParserConfig;
226226
pub use error::Error;
227227
pub use node::atoms;
228228
use node::Node;
229-
// pub use node::*;
230229
pub use parser::{recoverable, recoverable::ParsingResult, Parser};
231230

232231
/// Parse the given [`proc-macro::TokenStream`] into a [`Node`] tree.

src/parser/recoverable.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ impl RecoverableContext {
135135
}
136136
}
137137

138+
///
138139
/// Result of parsing.
139140
pub enum ParsingResult<T> {
140141
/// Fully valid ast that was parsed without errors.
@@ -162,7 +163,7 @@ impl<T> ParsingResult<T> {
162163
}
163164

164165
///
165-
/// Convert into [`syn::Result], with fail on first diagnostic message,
166+
/// Convert into [`syn::Result`], with fail on first diagnostic message,
166167
/// Returns Error on [`ParsingResult::Failed`], and
167168
/// [`ParsingResult::Partial`].
168169
pub fn into_result(self) -> syn::Result<T> {

0 commit comments

Comments
 (0)