We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0029af7 + 2b3685a commit dc2e301Copy full SHA for dc2e301
compiler/rustc_attr/src/builtin.rs
@@ -802,7 +802,7 @@ impl IntType {
802
/// Valid repr contents: any of the primitive integral type names (see
803
/// `int_type_of_word`, below) to specify enum discriminant type; `C`, to use
804
/// the same discriminant size that the corresponding C enum would or C
805
-/// structure layout, `packed` to remove padding, and `transparent` to elegate representation
+/// structure layout, `packed` to remove padding, and `transparent` to delegate representation
806
/// concerns to the only non-ZST field.
807
pub fn find_repr_attrs(sess: &Session, attr: &Attribute) -> Vec<ReprAttr> {
808
use ReprAttr::*;
0 commit comments