diff options
| author | William Brown <william@blackhats.net.au> | 2018-12-19 19:09:54 +1000 |
|---|---|---|
| committer | William Brown <william@blackhats.net.au> | 2018-12-19 19:09:54 +1000 |
| commit | b2d8040e6f89318c0ca7f5512ca31f8311b14a36 (patch) | |
| tree | 75457d35aff47ea62990938871bffa70812dab7b | |
| parent | 0829d0c0e480a3729dcfe4f28f5969277dc8f646 (diff) | |
| download | rust-b2d8040e6f89318c0ca7f5512ca31f8311b14a36.tar.gz rust-b2d8040e6f89318c0ca7f5512ca31f8311b14a36.zip | |
Fix tidy error
| -rw-r--r-- | src/libcore/mem.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs index 7492cf4c5ed..9d1f5ce4035 100644 --- a/src/libcore/mem.rs +++ b/src/libcore/mem.rs @@ -614,7 +614,8 @@ pub unsafe fn zeroed<T>() -> T { /// } /// } /// // Forget the data. If this is allowed to drop, you may see a crash such as: -/// // 'mem_uninit_test(2457,0x7fffb55dd380) malloc: *** error for object 0x7ff3b8402920: pointer being freed was not allocated' +/// // 'mem_uninit_test(2457,0x7fffb55dd380) malloc: *** error for object +/// // 0x7ff3b8402920: pointer being freed was not allocated' /// mem::forget(data); /// ``` /// |
