about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-10-17 07:52:22 +0900
committerGitHub <noreply@github.com>2021-10-17 07:52:22 +0900
commitdc2e301eb9b263bbf68c37ac5ce00caa20601458 (patch)
treedfb87b6fd94362db0807a2a64991a7d714312f78
parent0029af7930de4fc46c9cd01d0a5b5fa8dd4a4b5d (diff)
parent2b3685a6cb286149e50d49f9da455804320b0cb9 (diff)
downloadrust-dc2e301eb9b263bbf68c37ac5ce00caa20601458.tar.gz
rust-dc2e301eb9b263bbf68c37ac5ce00caa20601458.zip
Rollup merge of #89958 - nhamovitz:patch-1, r=nagisa
Correct small typo
-rw-r--r--compiler/rustc_attr/src/builtin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_attr/src/builtin.rs b/compiler/rustc_attr/src/builtin.rs
index 8d7f2b65c5a..719caaabbbf 100644
--- a/compiler/rustc_attr/src/builtin.rs
+++ b/compiler/rustc_attr/src/builtin.rs
@@ -802,7 +802,7 @@ impl IntType {
 /// Valid repr contents: any of the primitive integral type names (see
 /// `int_type_of_word`, below) to specify enum discriminant type; `C`, to use
 /// the same discriminant size that the corresponding C enum would or C
-/// structure layout, `packed` to remove padding, and `transparent` to elegate representation
+/// structure layout, `packed` to remove padding, and `transparent` to delegate representation
 /// concerns to the only non-ZST field.
 pub fn find_repr_attrs(sess: &Session, attr: &Attribute) -> Vec<ReprAttr> {
     use ReprAttr::*;