diff options
| author | Ciel <47144701+Ciel-MC@users.noreply.github.com> | 2023-02-05 16:28:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-05 17:28:48 +0900 |
| commit | b5eae12f0ca4dec772f91b97d6d436a269392881 (patch) | |
| tree | 163b79c6b4247860f28bdb54ea22de1ff60f8ef3 /src/doc/rustc-dev-guide | |
| parent | 23e2c96cb9ade829e1f4b5baf994b457b6aa2320 (diff) | |
| download | rust-b5eae12f0ca4dec772f91b97d6d436a269392881.tar.gz rust-b5eae12f0ca4dec772f91b97d6d436a269392881.zip | |
Fixed small grammar mistake in monomorph.md (#1585)
Fixes https://github.com/rust-lang/rustc-dev-guide/issues/1584
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/backend/monomorph.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/backend/monomorph.md b/src/doc/rustc-dev-guide/src/backend/monomorph.md index 4a0b55f6249..cbc56acfce2 100644 --- a/src/doc/rustc-dev-guide/src/backend/monomorph.md +++ b/src/doc/rustc-dev-guide/src/backend/monomorph.md @@ -133,7 +133,7 @@ the substitutions with the identity parameter before being added to the set of collected items - thereby reducing the copies from two (`[u16, u32]` and `[u64, u32]`) to one (`[A, u32]`). -`unused_generic_params` will also invoked during code generation when the +`unused_generic_params` will also be invoked during code generation when the symbol name for `foo` is being computed for use in the callsites of `foo` (which have the regular substitutions present, otherwise there would be a symbol mismatch between the caller and the function). |
