diff options
| author | Dezhi Wu <wu543065657@163.com> | 2022-08-18 10:13:37 +0800 |
|---|---|---|
| committer | Dezhi Wu <wu543065657@163.com> | 2022-08-31 18:24:55 +0800 |
| commit | b1430fb7ca499d517d9f4b3b6c5a81442129c88b (patch) | |
| tree | ff8f7fbd60789774143168b08862f8edfdcf8526 /compiler/rustc_transmute/src/layout/tree.rs | |
| parent | 7f442f8ba174fd4233a14ef4d7b577aa907db594 (diff) | |
| download | rust-b1430fb7ca499d517d9f4b3b6c5a81442129c88b.tar.gz rust-b1430fb7ca499d517d9f4b3b6c5a81442129c88b.zip | |
Fix a bunch of typo
This PR will fix some typos detected by [typos]. I only picked the ones I was sure were spelling errors to fix, mostly in the comments. [typos]: https://github.com/crate-ci/typos
Diffstat (limited to 'compiler/rustc_transmute/src/layout/tree.rs')
| -rw-r--r-- | compiler/rustc_transmute/src/layout/tree.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_transmute/src/layout/tree.rs b/compiler/rustc_transmute/src/layout/tree.rs index 93cab7ca533..4ab6d3737c5 100644 --- a/compiler/rustc_transmute/src/layout/tree.rs +++ b/compiler/rustc_transmute/src/layout/tree.rs @@ -416,7 +416,7 @@ pub(crate) mod rustc { // begin with the field's visibility tree = tree.then(Self::def(Def::Field(field_def))); - // compute the field's layout charactaristics + // compute the field's layout characteristics let field_layout = layout_of(tcx, field_ty)?.clamp_align(min_align, max_align); // next comes the field's padding |
