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 3cc3e25 commit 8381b72Copy full SHA for 8381b72
src/merge.rs
@@ -346,8 +346,11 @@ impl MergeFileOptions {
346
}
347
348
/// Acquire a pointer to the underlying raw options.
349
- pub unsafe fn raw(&mut self) -> *const raw::git_merge_file_options {
350
- &self.raw as *const _
+ ///
+ /// # Safety
351
+ /// The pointer used here (or its contents) should not outlive self.
352
+ pub(crate) unsafe fn raw(&mut self) -> *const raw::git_merge_file_options {
353
+ &self.raw
354
355
356
0 commit comments