remove useless lifetime of ArchiveBuilder

This commit is contained in:
823984418 2024-02-26 22:37:04 +08:00
parent ac8c8b612d
commit c460cf1737

View File

@ -8,7 +8,7 @@
pub(crate) struct ArArchiveBuilderBuilder;
impl ArchiveBuilderBuilder for ArArchiveBuilderBuilder {
fn new_archive_builder<'a>(&self, sess: &'a Session) -> Box<dyn ArchiveBuilder<'a> + 'a> {
fn new_archive_builder<'a>(&self, sess: &'a Session) -> Box<dyn ArchiveBuilder + 'a> {
Box::new(ArArchiveBuilder::new(sess, get_native_object_symbols))
}