netdoc-builder api: Have .item() return ItemBuilder

This was a slip in the design doc.
This commit is contained in:
Ian Jackson 2023-01-24 12:26:46 +00:00
parent 8c8ff4948f
commit eac7befc87
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ impl NetdocEncoder {
/// using the returned `ItemEncoder`.
//
// Actually, we defer adding the item until `ItemEncoder` is dropped.
pub(crate) fn item(&mut self, keyword: impl Keyword) -> &mut ItemEncoder {
pub(crate) fn item(&mut self, keyword: impl Keyword) -> ItemEncoder {
todo!()
}