From: Lennart Poettering Date: Wed, 20 Mar 2019 09:33:23 +0000 (+0100) Subject: alloc-util: typo fix X-Git-Tag: v242-rc1~103^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32ae18206f3917373e40e2cb89e31f8be0b0f200;p=thirdparty%2Fsystemd.git alloc-util: typo fix --- diff --git a/src/basic/alloc-util.h b/src/basic/alloc-util.h index 78ee34bb714..9b20be4773e 100644 --- a/src/basic/alloc-util.h +++ b/src/basic/alloc-util.h @@ -156,8 +156,8 @@ void* greedy_realloc0(void **p, size_t *allocated, size_t need, size_t size); (void*)memset(_new_, 0, _xsize_); \ }) -/* Takes inspiration from Rusts's Option::take() method: reads and returns a pointer, but at the same time resets it to - * NULL. See: https://doc.rust-lang.org/std/option/enum.Option.html#method.take */ +/* Takes inspiration from Rust's Option::take() method: reads and returns a pointer, but at the same time + * resets it to NULL. See: https://doc.rust-lang.org/std/option/enum.Option.html#method.take */ #define TAKE_PTR(ptr) \ ({ \ typeof(ptr) _ptr_ = (ptr); \