about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-27 03:27:48 +0000
committerbors <bors@rust-lang.org>2024-02-27 03:27:48 +0000
commitb4b180c2183d5bdf1991a60c423bd1801b30dd56 (patch)
tree555559f5d599758ff0abcdcaf9977304832b42a7 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parenta06a87b37dfc4aa9e0043d72b16df8051f92e98c (diff)
parent7f34119c1a6ec425f549e12f1490555acda74c65 (diff)
downloadrust-b4b180c2183d5bdf1991a60c423bd1801b30dd56.tar.gz
rust-b4b180c2183d5bdf1991a60c423bd1801b30dd56.zip
Auto merge of #121635 - 823984418:remove_archive_builder_lifetime_a, r=nnethercote
Remove useless lifetime of ArchiveBuilder

`trait ArchiveBuilder<'a>` has a seemingly useless lifetime a, so I remove it. If this is intentional, please reject this PR.

```rust
pub trait ArchiveBuilder<'a> {
    fn add_file(&mut self, path: &Path);

    fn add_archive(
        &mut self,
        archive: &Path,
        skip: Box<dyn FnMut(&str) -> bool + 'static>,
    ) -> io::Result<()>;

    fn build(self: Box<Self>, output: &Path) -> bool;
}
```
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions