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 cae1647 commit 917985eCopy full SHA for 917985e
src/libcore/ffi.rs
@@ -186,7 +186,7 @@ impl<'a> VaList<'a> {
186
reason = "the `c_variadic` feature has not been properly tested on \
187
all supported platforms",
188
issue = "27745")]
189
- pub unsafe fn copy<F, R>(&mut self, f: F) -> R
+ pub unsafe fn copy<F, R>(&self, f: F) -> R
190
where F: for<'copy> FnOnce(VaList<'copy>) -> R {
191
#[cfg(any(all(not(target_arch = "aarch64"), not(target_arch = "powerpc"),
192
not(target_arch = "x86_64")),
0 commit comments