Skip to content

Commit

Permalink
Fix tidy error
Browse files Browse the repository at this point in the history
  • Loading branch information
Firstyear committed Dec 19, 2018
1 parent 0829d0c commit b2d8040
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libcore/mem.rs
Expand Up @@ -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);
/// ```
///
Expand Down

0 comments on commit b2d8040

Please sign in to comment.