From 2e9cd18a9d7b07a6769b380cc65a48668ad458f6 Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Wed, 6 May 2020 12:19:03 -0400 Subject: [PATCH] document internal fn CallArgs::decrement --- src/args.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/args.rs b/src/args.rs index 37d9882..0168c0a 100644 --- a/src/args.rs +++ b/src/args.rs @@ -149,6 +149,10 @@ impl CallArgs { Ok(vals) } + /// Decrement all positional arguments by 1 + /// + /// This is used by builtin function `call` to pass + /// positional arguments to the other function pub fn decrement(self) -> Self { CallArgs( self.0