Rollup merge of #89958 - nhamovitz:patch-1, r=nagisa

Correct small typo
This commit is contained in:
Yuki Okushi
2021-10-17 07:52:22 +09:00
committed by GitHub
+1 -1
View File
@@ -802,7 +802,7 @@ pub fn is_signed(self) -> bool {
/// 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::*;