diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-03-20 10:33:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-03-20 10:48:33 +0100 |
commit | 32ae18206f3917373e40e2cb89e31f8be0b0f200 (patch) | |
tree | 287ade767af9db2219a3db49fb8953497819b8db /src/basic/alloc-util.h | |
parent | d4b604baeadbb2498e4f2c3e260260eed210f5d6 (diff) | |
download | systemd-32ae18206f3917373e40e2cb89e31f8be0b0f200.tar.gz |
alloc-util: typo fix
Diffstat (limited to 'src/basic/alloc-util.h')
-rw-r--r-- | src/basic/alloc-util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/alloc-util.h b/src/basic/alloc-util.h index 78ee34bb71..9b20be4773 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); \ |