about summary refs log tree commit diff
diff options
context:
space:
mode:
authornhamovitz <18648574+nhamovitz@users.noreply.github.com>2021-10-16 13:36:05 -0700
committerGitHub <noreply@github.com>2021-10-16 13:36:05 -0700
commit2b3685a6cb286149e50d49f9da455804320b0cb9 (patch)
tree9e982e4aab79027b96b5e63e71259f0a03986c93
parent7fbd4ce2768744b3bd2ddf8453b73f4f18dbe5bc (diff)
downloadrust-2b3685a6cb286149e50d49f9da455804320b0cb9.tar.gz
rust-2b3685a6cb286149e50d49f9da455804320b0cb9.zip
Correct 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::*;