We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16e5847 commit c4a37f2Copy full SHA for c4a37f2
gdnative-core/src/export/method.rs
@@ -278,7 +278,7 @@ impl<'a> Varargs<'a> {
278
/// Returns the remaining arguments as a slice of `Variant`s.
279
#[inline]
280
pub fn as_slice(&self) -> &'a [&'a Variant] {
281
- self.args
+ &self.args[self.idx..]
282
}
283
284
/// Discard the rest of the arguments, and return an error if there is any.
0 commit comments