diff options
| author | Nikolai Vazquez <hello@nikolaivazquez.com> | 2022-06-03 12:58:36 -0400 |
|---|---|---|
| committer | Nikolai Vazquez <hello@nikolaivazquez.com> | 2022-06-03 12:58:36 -0400 |
| commit | 1d3037a107dc30e3e7c299eb939c60b7340d97ba (patch) | |
| tree | 403b3f72cec0f5875f5fba69b930af5c9076720a /example | |
| parent | be34cb35c7b5ac83b77b5f83fff85620cbb155e1 (diff) | |
| download | rust-1d3037a107dc30e3e7c299eb939c60b7340d97ba.tar.gz rust-1d3037a107dc30e3e7c299eb939c60b7340d97ba.zip | |
Fix unsized field order
Diffstat (limited to 'example')
| -rw-r--r-- | example/mini_core_hello_world.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/mini_core_hello_world.rs b/example/mini_core_hello_world.rs index 5ca63f270ea..14fd9eeffa6 100644 --- a/example/mini_core_hello_world.rs +++ b/example/mini_core_hello_world.rs @@ -48,8 +48,8 @@ struct NoisyDrop { } struct NoisyDropUnsized { - text: str, inner: NoisyDropInner, + text: str, } struct NoisyDropInner; |
