From e2c1670fb27c9e400c5ef9e36fbbfe1c07b2d54c Mon Sep 17 00:00:00 2001 From: Daniel Scherzer Date: Mon, 9 Mar 2026 01:39:30 -0700 Subject: [PATCH] src/signature.rs: change "if" to "that" in from_raw_const() docs "If" is a bit confusing here, use the more common "that" when discussing the lack of guarantees. --- src/signature.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/signature.rs b/src/signature.rs index 7c9ffb3933..074ce31f6d 100644 --- a/src/signature.rs +++ b/src/signature.rs @@ -118,7 +118,7 @@ impl<'a> Binding for Signature<'a> { /// of the given object. /// /// This function is unsafe as there is no guarantee that `raw` is valid for -/// `'a` nor if it's a valid pointer. +/// `'a` nor that it's a valid pointer. pub unsafe fn from_raw_const<'b, T>(_lt: &'b T, raw: *const raw::git_signature) -> Signature<'b> { Signature { raw: raw as *mut raw::git_signature,