From 5471f42f11f966e29e88b1468d9af2842c77f727 Mon Sep 17 00:00:00 2001 From: Ciel <47144701+Ciel-MC@users.noreply.github.com> Date: Sun, 5 Feb 2023 16:28:48 +0800 Subject: [PATCH] Fixed small grammar mistake in monomorph.md (#1585) Fixes https://github.com/rust-lang/rustc-dev-guide/issues/1584 --- src/backend/monomorph.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/monomorph.md b/src/backend/monomorph.md index 4a0b55f62..cbc56acfc 100644 --- a/src/backend/monomorph.md +++ b/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).