document internal fn CallArgs::decrement

This commit is contained in:
ConnorSkees 2020-05-06 12:19:03 -04:00
parent e5226e5cfe
commit 2e9cd18a9d

View File

@ -149,6 +149,10 @@ impl CallArgs {
Ok(vals) 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 { pub fn decrement(self) -> Self {
CallArgs( CallArgs(
self.0 self.0