Skip to content

Commit 70a607e

Browse files
committed
Remove nbsp characters.
1 parent 77d5647 commit 70a607e

File tree

16 files changed

+183
-183
lines changed

16 files changed

+183
-183
lines changed

crates/mdman/doc/mdman.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ man page:
5757

5858
{{#option "`-t` _type_"}}
5959
Specifies the output type. The following output types are supported:
60-
- `man` A troff-style man page. Outputs with a numbered extension (like
60+
- `man` A troff-style man page. Outputs with a numbered extension (like
6161
`.1`) matching the man page section.
62-
- `md` A markdown file, after all handlebars processing has been finished.
62+
- `md` A markdown file, after all handlebars processing has been finished.
6363
Outputs with the `.md` extension.
64-
- `txt` A text file, rendered for situations where a man page viewer isn't
64+
- `txt` A text file, rendered for situations where a man page viewer isn't
6565
available. Outputs with the `.txt` extension.
6666
{{/option}}
6767

crates/mdman/doc/out/mdman.1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,17 @@ next to the source file. Templates can be included with an expression like
7373
Specifies the output type. The following output types are supported:
7474
.sp
7575
.RS 4
76-
\h'-04'\(bu\h'+02'\fBman\fR \[em]\ A troff\-style man page. Outputs with a numbered extension (like
76+
\h'-04'\(bu\h'+02'\fBman\fR \[em] A troff\-style man page. Outputs with a numbered extension (like
7777
\fB\&.1\fR) matching the man page section.
7878
.RE
7979
.sp
8080
.RS 4
81-
\h'-04'\(bu\h'+02'\fBmd\fR \[em]\ A markdown file, after all handlebars processing has been finished.
81+
\h'-04'\(bu\h'+02'\fBmd\fR \[em] A markdown file, after all handlebars processing has been finished.
8282
Outputs with the \fB\&.md\fR extension.
8383
.RE
8484
.sp
8585
.RS 4
86-
\h'-04'\(bu\h'+02'\fBtxt\fR \[em]\ A text file, rendered for situations where a man page viewer isn't
86+
\h'-04'\(bu\h'+02'\fBtxt\fR \[em] A text file, rendered for situations where a man page viewer isn't
8787
available. Outputs with the \fB\&.txt\fR extension.
8888
.RE
8989
.RE

crates/mdman/doc/out/mdman.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,36 +54,36 @@ man page:
5454

5555
<dl>
5656

57-
<dt><code>-t</code> <em>type</em></dt>
58-
<dd>Specifies the output type. The following output types are supported:</p>
57+
<dt class="option-term" id="option-mdman--t"><a class="option-anchor" href="#option-mdman--t"></a><code>-t</code> <em>type</em></dt>
58+
<dd class="option-desc">Specifies the output type. The following output types are supported:</p>
5959
<ul>
60-
<li><code>man</code> — A troff-style man page. Outputs with a numbered extension (like
60+
<li><code>man</code> — A troff-style man page. Outputs with a numbered extension (like
6161
<code>.1</code>) matching the man page section.</li>
62-
<li><code>md</code> — A markdown file, after all handlebars processing has been finished.
62+
<li><code>md</code> — A markdown file, after all handlebars processing has been finished.
6363
Outputs with the <code>.md</code> extension.</li>
64-
<li><code>txt</code> — A text file, rendered for situations where a man page viewer isn't
64+
<li><code>txt</code> — A text file, rendered for situations where a man page viewer isn't
6565
available. Outputs with the <code>.txt</code> extension.</li>
6666
</ul></dd>
6767

6868

69-
<dt><code>-o</code> <em>outdir</em></dt>
70-
<dd>Specifies the directory where to save the output.</dd>
69+
<dt class="option-term" id="option-mdman--o"><a class="option-anchor" href="#option-mdman--o"></a><code>-o</code> <em>outdir</em></dt>
70+
<dd class="option-desc">Specifies the directory where to save the output.</dd>
7171

7272

73-
<dt><code>--url</code> <em>base_url</em></dt>
74-
<dd>Specifies a base URL to use for relative URLs within the document. Any
73+
<dt class="option-term" id="option-mdman---url"><a class="option-anchor" href="#option-mdman---url"></a><code>--url</code> <em>base_url</em></dt>
74+
<dd class="option-desc">Specifies a base URL to use for relative URLs within the document. Any
7575
relative URL will be joined with this URL.</dd>
7676

7777

78-
<dt><code>--man</code> <em>name</em><code>:</code><em>section</em><code>=</code><em>url</em></dt>
79-
<dd>Specifies a URL to use for the given man page. When the <code>{{man name section}}</code> expression is used, the given URL will be inserted as a link. This
78+
<dt class="option-term" id="option-mdman---man"><a class="option-anchor" href="#option-mdman---man"></a><code>--man</code> <em>name</em><code>:</code><em>section</em><code>=</code><em>url</em></dt>
79+
<dd class="option-desc">Specifies a URL to use for the given man page. When the <code>{{man name section}}</code> expression is used, the given URL will be inserted as a link. This
8080
may be specified multiple times. If a man page reference does not have a
8181
matching <code>--man</code> entry, then a relative link to a file named <em>name</em><code>.md</code> will
8282
be used.</dd>
8383

8484

85-
<dt><em>sources...</em></dt>
86-
<dd>The source input filename, may be specified multiple times.</dd>
85+
<dt class="option-term" id="option-mdman-sources..."><a class="option-anchor" href="#option-mdman-sources..."></a><em>sources...</em></dt>
86+
<dd class="option-desc">The source input filename, may be specified multiple times.</dd>
8787

8888

8989
</dl>

crates/mdman/doc/out/mdman.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ OPTIONS
5858
-t type
5959
Specifies the output type. The following output types are supported:
6060

61-
o man — A troff-style man page. Outputs with a numbered
62-
extension (like .1) matching the man page section.
61+
o man — A troff-style man page. Outputs with a numbered extension
62+
(like .1) matching the man page section.
6363

64-
o md — A markdown file, after all handlebars processing has been
64+
o md — A markdown file, after all handlebars processing has been
6565
finished. Outputs with the .md extension.
6666

67-
o txt — A text file, rendered for situations where a man page
67+
o txt — A text file, rendered for situations where a man page
6868
viewer isn't available. Outputs with the .txt extension.
6969

7070
-o outdir

src/cargo/core/compiler/timings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ fn render_rustc_info(bcx: &BuildContext<'_, '_>) -> String {
643643
static HTML_TMPL: &str = r#"
644644
<html>
645645
<head>
646-
<title>Cargo Build Timings — {ROOTS}</title>
646+
<title>Cargo Build Timings — {ROOTS}</title>
647647
<meta charset="utf-8">
648648
<style type="text/css">
649649
html {

src/cargo/core/profiles.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ pub struct UnitFor {
851851
/// uses the `get_profile_run_custom_build` method to get the correct
852852
/// profile information for the unit. `host` needs to be true so that all
853853
/// of the dependencies of that `RunCustomBuild` unit have this flag be
854-
/// sticky (and forced to `true` for all further dependencies) — which is
854+
/// sticky (and forced to `true` for all further dependencies) — which is
855855
/// the whole point of `UnitFor`.
856856
host: bool,
857857
/// A target for a build dependency or proc-macro (or any of its

src/doc/contrib/src/architecture/codebase.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,37 +9,37 @@ This is a very high-level overview of the Cargo codebase.
99
[SubCommands](subcommands.md).
1010

1111
* [`src/cargo/ops`](https://github.com/rust-lang/cargo/tree/master/src/cargo/ops)
12-
 Every major operation is implemented here. This is where the binary CLI
12+
Every major operation is implemented here. This is where the binary CLI
1313
usually calls into to perform the appropriate action.
1414

1515
* [`src/cargo/ops/cargo_compile.rs`](https://github.com/rust-lang/cargo/blob/master/src/cargo/ops/cargo_compile.rs)
16-
 This is the entry point for all the compilation commands. This is a
16+
This is the entry point for all the compilation commands. This is a
1717
good place to start if you want to follow how compilation starts and
1818
flows to completion.
1919

2020
* [`src/cargo/core/resolver`](https://github.com/rust-lang/cargo/tree/master/src/cargo/core/resolver)
21-
 This is the dependency and feature resolvers.
21+
This is the dependency and feature resolvers.
2222

2323
* [`src/cargo/core/compiler`](https://github.com/rust-lang/cargo/tree/master/src/cargo/core/compiler)
24-
 This is the code responsible for running `rustc` and `rustdoc`.
24+
This is the code responsible for running `rustc` and `rustdoc`.
2525

2626
* [`src/cargo/core/compiler/build_context/mod.rs`](https://github.com/rust-lang/cargo/blob/master/src/cargo/core/compiler/build_context/mod.rs)
27-
 The `BuildContext` is the result of the "front end" of the build
27+
The `BuildContext` is the result of the "front end" of the build
2828
process. This contains the graph of work to perform and any settings
2929
necessary for `rustc`. After this is built, the next stage of building
3030
is handled in `Context`.
3131

3232
* [`src/cargo/core/compiler/context`](https://github.com/rust-lang/cargo/blob/master/src/cargo/core/compiler/context/mod.rs)
33-
 The `Context` is the mutable state used during the build process. This
33+
The `Context` is the mutable state used during the build process. This
3434
is the core of the build process, and everything is coordinated through
3535
this.
3636

3737
* [`src/cargo/core/compiler/fingerprint.rs`](https://github.com/rust-lang/cargo/blob/master/src/cargo/core/compiler/fingerprint.rs)
38-
 The `fingerprint` module contains all the code that handles detecting
38+
The `fingerprint` module contains all the code that handles detecting
3939
if a crate needs to be recompiled.
4040

4141
* [`src/cargo/core/source`](https://github.com/rust-lang/cargo/tree/master/src/cargo/core/source)
42-
 The `Source` trait is an abstraction over different sources of packages.
42+
The `Source` trait is an abstraction over different sources of packages.
4343
Sources are uniquely identified by a `SourceId`. Sources are implemented in
4444
the
4545
[`src/cargo/sources`](https://github.com/rust-lang/cargo/tree/master/src/cargo/sources)
@@ -56,37 +56,37 @@ This is a very high-level overview of the Cargo codebase.
5656
though references to it are scattered around for more convenient access.
5757

5858
* [`src/cargo/util/toml`](https://github.com/rust-lang/cargo/tree/master/src/cargo/util/toml)
59-
 This directory contains the code for parsing `Cargo.toml` files.
59+
This directory contains the code for parsing `Cargo.toml` files.
6060

6161
* [`src/cargo/ops/lockfile.rs`](https://github.com/rust-lang/cargo/blob/master/src/cargo/ops/lockfile.rs)
62-
 This is where `Cargo.lock` files are loaded and saved.
62+
This is where `Cargo.lock` files are loaded and saved.
6363

6464
* [`src/doc`](https://github.com/rust-lang/cargo/tree/master/src/doc)
65-
 This directory contains Cargo's documentation and man pages.
65+
This directory contains Cargo's documentation and man pages.
6666

6767
* [`src/etc`](https://github.com/rust-lang/cargo/tree/master/src/etc)
68-
 These are files that get distributed in the `etc` directory in the Rust release.
68+
These are files that get distributed in the `etc` directory in the Rust release.
6969
The man pages are auto-generated by a script in the `src/doc` directory.
7070

7171
* [`crates`](https://github.com/rust-lang/cargo/tree/master/crates)
72-
 A collection of independent crates used by Cargo.
72+
A collection of independent crates used by Cargo.
7373

7474
## Extra crates
7575

7676
Some functionality is split off into separate crates, usually in the
7777
[`crates`](https://github.com/rust-lang/cargo/tree/master/crates) directory.
7878

7979
* [`cargo-platform`](https://github.com/rust-lang/cargo/tree/master/crates/cargo-platform)
80-
 This library handles parsing `cfg` expressions.
80+
This library handles parsing `cfg` expressions.
8181
* [`cargo-test-macro`](https://github.com/rust-lang/cargo/tree/master/crates/cargo-test-macro)
82-
 This is a proc-macro used by the test suite to define tests. More
82+
This is a proc-macro used by the test suite to define tests. More
8383
information can be found at [`cargo_test`
8484
attribute](../tests/writing.md#cargo_test-attribute).
8585
* [`cargo-test-support`](https://github.com/rust-lang/cargo/tree/master/crates/cargo-test-support)
86-
 This contains a variety of code to support [writing
86+
This contains a variety of code to support [writing
8787
tests](../tests/writing.md).
8888
* [`cargo-util`](https://github.com/rust-lang/cargo/tree/master/crates/cargo-util)
89-
 This contains general utility code that is shared between cargo and the
89+
This contains general utility code that is shared between cargo and the
9090
testsuite.
9191
* [`crates-io`](https://github.com/rust-lang/cargo/tree/master/crates/crates-io)
9292
— This contains code for accessing the crates.io API.
@@ -100,5 +100,5 @@ Some functionality is split off into separate crates, usually in the
100100
pages](https://github.com/rust-lang/cargo/tree/master/src/doc#building-the-man-pages)
101101
for more information.
102102
* [`resolver-tests`](https://github.com/rust-lang/cargo/tree/master/crates/resolver-tests)
103-
 This is a dedicated package that defines tests for the [dependency
103+
This is a dedicated package that defines tests for the [dependency
104104
resolver](../architecture/packages.md#resolver).

src/doc/contrib/src/architecture/packages.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,27 @@ actually compiled by `rustc`.
1616
There are several data structures that are important to understand how
1717
packages are found and loaded:
1818

19-
* [`Package`] A package, which is a `Cargo.toml` manifest and its associated
19+
* [`Package`] A package, which is a `Cargo.toml` manifest and its associated
2020
source files.
21-
* [`PackageId`] A unique identifier for a package.
21+
* [`PackageId`] A unique identifier for a package.
2222
* [`Source`] — An abstraction for something that can fetch packages (a remote
2323
registry, a git repo, the local filesystem, etc.). Check out the [source
2424
implementations] for all the details about registries, indexes, git
2525
dependencies, etc.
26-
* [`SourceId`] A unique identifier for a source.
27-
* [`SourceMap`] Map of all available sources.
28-
* [`PackageRegistry`] This is the main interface for how the dependency
26+
* [`SourceId`] A unique identifier for a source.
27+
* [`SourceMap`] Map of all available sources.
28+
* [`PackageRegistry`] This is the main interface for how the dependency
2929
resolver finds packages. It contains the `SourceMap`, and handles things
3030
like the `[patch]` table. The `Registry` trait provides a generic interface
3131
to the `PackageRegistry`, but this is only used for providing an alternate
3232
implementation of the `PackageRegistry` for testing. The dependency resolver
3333
sends a query to the `PackageRegistry` to "get me all packages that match
3434
this dependency declaration".
35-
* [`Summary`] A summary is a subset of a [`Manifest`], and is essentially
35+
* [`Summary`] A summary is a subset of a [`Manifest`], and is essentially
3636
the information that can be found in a registry index. Queries against the
3737
`PackageRegistry` yields a `Summary`. The resolver uses the summary
3838
information to build the dependency graph.
39-
* [`PackageSet`] Contains all of the `Package` objects. This works with the
39+
* [`PackageSet`] Contains all of the `Package` objects. This works with the
4040
[`Downloads`] struct to coordinate downloading packages. It has a reference
4141
to the `SourceMap` to get the `Source` objects which tell the `Downloads`
4242
struct which URLs to fetch.

src/doc/contrib/src/issues.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ If you file in the wrong tracker, someone will either transfer it to the
2626
correct one or ask you to move it. Some other repositories that may be
2727
relevant are:
2828

29-
* [`rust-lang/rust`] Home for the [`rustc`] compiler and [`rustdoc`].
30-
* [`rust-lang/rustup`] Home for the [`rustup`] toolchain installer.
31-
* [`rust-lang/rustfmt`] Home for the `rustfmt` tool, which also includes `cargo fmt`.
32-
* [`rust-lang/rust-clippy`] Home for the `clippy` tool, which also includes `cargo clippy`.
33-
* [`rust-lang/crates.io`] Home for the [crates.io] website.
29+
* [`rust-lang/rust`] Home for the [`rustc`] compiler and [`rustdoc`].
30+
* [`rust-lang/rustup`] Home for the [`rustup`] toolchain installer.
31+
* [`rust-lang/rustfmt`] Home for the `rustfmt` tool, which also includes `cargo fmt`.
32+
* [`rust-lang/rust-clippy`] Home for the `clippy` tool, which also includes `cargo clippy`.
33+
* [`rust-lang/crates.io`] Home for the [crates.io] website.
3434

3535
Issues with [`cargo fix`] can be tricky to know where they should be filed,
3636
since the fixes are driven by `rustc`, processed by [`rustfix`], and the

src/doc/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The commands will let you interact with Cargo using its command-line interface.
3737
**Other Documentation:**
3838
* [Changelog](https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md)
3939
Detailed notes about changes in Cargo in each release.
40-
* [Rust documentation website](https://doc.rust-lang.org/) Links to official
40+
* [Rust documentation website](https://doc.rust-lang.org/) Links to official
4141
Rust documentation and tools.
4242

4343
[def-crate]: ./appendix/glossary.md#crate '"crate" (glossary entry)'

0 commit comments

Comments
 (0)