From: Junio C Hamano Date: Tue, 07 Jul 2026 22:25:00 GMT Subject: Re: [PATCH 4/7] hash: make git_hash_discard() idempotent Message-ID: In-Reply-To: "brian m. carlson" writes: > Our Rust code makes calling final a second time impossible because > finalization takes `self`, not `&mut self`, so the object is _moved_ > into the final method and you no longer have access to it after that. That is a cute trick available to Rust but not many other languages, I guess ;-).