diff options
| author | Mika <121306011+MikaT-code@users.noreply.github.com> | 2023-03-03 13:13:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-03 20:13:46 +0900 |
| commit | 8b68f142fa69c1801c1cd63c21bec6d3de97577d (patch) | |
| tree | 4a33143c9e37d9230af88170f4ca50379dab0e03 /src/doc/rustc-dev-guide | |
| parent | b16806f29461048bdf3efbdfb99b5d4db25513ce (diff) | |
| download | rust-8b68f142fa69c1801c1cd63c21bec6d3de97577d.tar.gz rust-8b68f142fa69c1801c1cd63c21bec6d3de97577d.zip | |
Making the sentence more clear (#1624)
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 cbc56acfce2..7726daf4fca 100644 --- a/src/doc/rustc-dev-guide/src/backend/monomorph.md +++ b/src/doc/rustc-dev-guide/src/backend/monomorph.md @@ -99,7 +99,7 @@ are relatively rare in functions, but closures inherit the generic parameters of their parent function and it is common for closures to not use those inherited parameters. Without polymorphization, a copy of these closures would be created for each copy of the parent function. By -creating fewer copies, less LLVM IR is generated and needs processed. +creating fewer copies, less LLVM IR is generated; therefore less needs to be processed. `unused_generic_params` returns a `FiniteBitSet<u64>` where a bit is set if the generic parameter of the corresponding index is unused. Any parameters |
