aboutsummaryrefslogtreecommitdiffstats
path: root/rst
diff options
context:
space:
mode:
authorPhilipp A2023-12-28 16:16:28 +0100
committerGitHub2023-12-28 16:16:28 +0100
commit46e31610f5a4cb0404eb5764e803bd5d069705e2 (patch)
tree208ea6d02c65647b00a95c91098ea3bfba44fee0 /rst
parentfc852b6d0715809637a2a148ebd0ce03542a1ff4 (diff)
downloadrust-rst-allow-rst-to-read-from-stdin.tar.bz2
Diffstat (limited to 'rst')
-rw-r--r--rst/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rst/src/main.rs b/rst/src/main.rs
index 6a7ed44..fa4b2a7 100644
--- a/rst/src/main.rs
+++ b/rst/src/main.rs
@@ -52,7 +52,7 @@ fn main() -> CliResult {
let stdout = std::io::stdout();
match args.format {
Format::json => render_json(&document, stdout)?,
- Format::xml => render_xml (&document, stdout)?,
+ Format::xml => render_xml(&document, stdout)?,
Format::html => render_html(&document, stdout, true)?,
}
Ok(())