mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
remove useless lifetime of ArchiveBuilder
This commit is contained in:
parent
ac8c8b612d
commit
c460cf1737
@ -8,7 +8,7 @@ use rustc_session::Session;
|
||||
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))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user