From 09d4be20f4ee1b83ab2ec65de805e0523c2d9025 Mon Sep 17 00:00:00 2001 From: Daniel Franklin Date: Tue, 23 Mar 2021 22:30:12 +0000 Subject: [PATCH] Update src/send-and-sync.md Co-authored-by: Daniel Henry-Mantilla --- src/send-and-sync.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/send-and-sync.md b/src/send-and-sync.md index 90a2a0a..bc75ea1 100644 --- a/src/send-and-sync.md +++ b/src/send-and-sync.md @@ -93,7 +93,7 @@ struct Carton(ptr::NonNull); impl Carton { pub fn new(value: T) -> Self { // Allocate enough memory on the heap to store one T. - assert_ne!(size_of::(), 0, "Zero-sized types are out of the scope of this example); + assert_ne!(size_of::(), 0, "Zero-sized types are out of the scope of this example"); let memptr: *mut c_void = ptr::null_mut(); unsafe { let ret = libc::posix_memalign(