Design Decisions - MaulingMonkey/ialloc GitHub Wiki

Using &self for allocator traits

rust-lang chose this to support lock free data structures.

downside is allocators must be given interior mutability.

See rust-lang/wg-allocators#55 Change AllocRef to take &self