about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-slice-array.js
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
commitc099ed3d1e8cddde624b27556df507328990a570 (patch)
tree7cf020669ae11a6252d5fc69fa2ee3ebc1345e08 /tests/rustdoc-js-std/parser-slice-array.js
parent15d98cd3b559998c19fdb0db1f1933990588768e (diff)
parentc460cf173736323fca63a4e1e6554f3a749b6691 (diff)
downloadrust-c099ed3d1e8cddde624b27556df507328990a570.tar.gz
rust-c099ed3d1e8cddde624b27556df507328990a570.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/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions