Skip to content

Commit dc2e301

Browse files
authored
Rollup merge of #89958 - nhamovitz:patch-1, r=nagisa
Correct small typo
2 parents 0029af7 + 2b3685a commit dc2e301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_attr/src/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ impl IntType {
802802
/// Valid repr contents: any of the primitive integral type names (see
803803
/// `int_type_of_word`, below) to specify enum discriminant type; `C`, to use
804804
/// the same discriminant size that the corresponding C enum would or C
805-
/// structure layout, `packed` to remove padding, and `transparent` to elegate representation
805+
/// structure layout, `packed` to remove padding, and `transparent` to delegate representation
806806
/// concerns to the only non-ZST field.
807807
pub fn find_repr_attrs(sess: &Session, attr: &Attribute) -> Vec<ReprAttr> {
808808
use ReprAttr::*;

0 commit comments

Comments
 (0)