diff --git a/capnp/src/message.rs b/capnp/src/message.rs index 0deaefe9b..0fd4830dc 100644 --- a/capnp/src/message.rs +++ b/capnp/src/message.rs @@ -649,6 +649,8 @@ fn test_allocate_max() { } impl Builder { + /// Constructs a new `message::Builder` whose first segment has length + /// `SUGGESTED_FIRST_SEGMENT_WORDS`. pub fn new_default() -> Builder { Builder::new(HeapAllocator::new()) }