netdoc: Make args_as_vec() non-public.

It returns a Ref, and that's kinda implementation-dependent.
This commit is contained in:
Nick Mathewson 2020-05-13 17:25:11 -04:00
parent 4f4bc52e36
commit dea1530492
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ impl<'a> Item<'a> {
self.args
}
/// Return the arguments of this item as a vector.
pub fn args_as_vec(&self) -> Ref<Vec<&'a str>> {
fn args_as_vec(&self) -> Ref<Vec<&'a str>> {
// We're using an interior mutability pattern here to lazily
// construct the vector.
if self.split_args.borrow().is_none() {