Skip to content

Commit

Permalink
Rollup merge of #89958 - nhamovitz:patch-1, r=nagisa
Browse files Browse the repository at this point in the history
Correct small typo
  • Loading branch information
JohnTitor committed Oct 16, 2021
2 parents 0029af7 + 2b3685a commit dc2e301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_attr/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down

0 comments on commit dc2e301

Please sign in to comment.