diff options
| author | Takayuki Nakata <f.seasons017@gmail.com> | 2020-08-03 23:32:19 +0900 |
|---|---|---|
| committer | Who? Me?! <mark-i-m@users.noreply.github.com> | 2020-08-03 11:07:57 -0500 |
| commit | bfc15c8e37aaabdc23c958eaca80506b227c7be0 (patch) | |
| tree | 60ce4dcc7960d1febd63a12e7f547b4f3915f9da /src/doc/rustc-dev-guide | |
| parent | 5d4f6c7fbcf040c3e2f5b9288ccc14c75cb74928 (diff) | |
| download | rust-bfc15c8e37aaabdc23c958eaca80506b227c7be0.tar.gz rust-bfc15c8e37aaabdc23c958eaca80506b227c7be0.zip | |
Some small fixes
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/crates-io.md | 3 | ||||
| -rw-r--r-- | src/doc/rustc-dev-guide/src/stability.md | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/crates-io.md b/src/doc/rustc-dev-guide/src/crates-io.md index 7333bd9b82c..6fbabdc914b 100644 --- a/src/doc/rustc-dev-guide/src/crates-io.md +++ b/src/doc/rustc-dev-guide/src/crates-io.md @@ -17,7 +17,6 @@ TODO: what is the vetting process? ## Permitted dependencies The `tidy` tool has [a list of crates that are allowed]. To add a -dependency that is not already in the compiler, you will need to add it to these -crates. +dependency that is not already in the compiler, you will need to add it to the list. [a list of crates that are allowed]: https://github.com/rust-lang/rust/blob/19ecce332e56941ea0dd2a805270faa102acdb14/src/tools/tidy/src/deps.rs#L59 diff --git a/src/doc/rustc-dev-guide/src/stability.md b/src/doc/rustc-dev-guide/src/stability.md index 1160ee98d17..9255f4b57bc 100644 --- a/src/doc/rustc-dev-guide/src/stability.md +++ b/src/doc/rustc-dev-guide/src/stability.md @@ -76,7 +76,7 @@ Furthermore this attribute is needed to mark an intrinsic as callable from Macros, compiler desugarings and `const fn`s expose their bodies to the call site. To work around not being able to use unstable things in the standard library's macros, there's the `#[allow_internal_unstable(feature1, feature2)]` -attribute that allows the given features for usage in stable macros or +attribute that allows the given features to be used in stable macros or `const fn`s. Note that `const fn`s are even more special in this regard. You can't just |
