diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-09-18 22:18:38 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-09-20 22:49:03 -0700 |
| commit | 4fd061c426902b0904c65e64a3780b21f9ab3afb (patch) | |
| tree | fc6835eb507e916e8184dc821b44e01e5261ccdf /src/libsyntax/ext | |
| parent | a95604fcaacf9cbad5f57b8c08e1b3e871462e9c (diff) | |
| download | rust-4fd061c426902b0904c65e64a3780b21f9ab3afb.tar.gz rust-4fd061c426902b0904c65e64a3780b21f9ab3afb.zip | |
Implement a web backend for rustdoc_ng
This large commit implements and `html` output option for rustdoc_ng. The executable has been altered to be invoked as "rustdoc_ng html <crate>" and it will dump everything into the local "doc" directory. JSON can still be generated by changing 'html' to 'json'. This also fixes a number of bugs in rustdoc_ng relating to comment stripping, along with some other various issues that I found along the way. The `make doc` command has been altered to generate the new documentation into the `doc/ng/$(CRATE)` directories.
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/format.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/format.rs b/src/libsyntax/ext/format.rs index cace4648df2..d33ae069112 100644 --- a/src/libsyntax/ext/format.rs +++ b/src/libsyntax/ext/format.rs @@ -262,7 +262,7 @@ impl Context { let span = match self.names.find(&name) { Some(e) => e.span, None => { - let msg = fmt!("There is no argument named `%s`", name); + let msg = fmt!("there is no argument named `%s`", name); self.ecx.span_err(self.fmtsp, msg); return; } |
