Correct typo
This commit is contained in:
parent
7fbd4ce276
commit
2b3685a6cb
@ -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::*;
|
||||
|
Loading…
x
Reference in New Issue
Block a user