From deca65eb1f851c8d20d26e7ecbbde24461112cc6 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 15 Jan 2020 18:23:59 +0100 Subject: [PATCH] Break long line in code excerpt --- .../content/second-edition/posts/11-allocator-designs/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blog/content/second-edition/posts/11-allocator-designs/index.md b/blog/content/second-edition/posts/11-allocator-designs/index.md index de3601c3..aa216c60 100644 --- a/blog/content/second-edition/posts/11-allocator-designs/index.md +++ b/blog/content/second-edition/posts/11-allocator-designs/index.md @@ -1118,7 +1118,8 @@ To use our new `FixedSizeBlockAllocator`, we need to update the `ALLOCATOR` stat use fixed_size_block::FixedSizeBlockAllocator; #[global_allocator] -static ALLOCATOR: Locked = Locked::new(FixedSizeBlockAllocator::new()); +static ALLOCATOR: Locked = Locked::new( + FixedSizeBlockAllocator::new()); ``` Since the `init` function behaves the same for all allocators we implemented, we don't need to modify the `init` call in `init_heap`.