Simplify some redundant field names

This commit is contained in:
Michael Goulet 2024-08-21 01:29:52 -04:00
parent 636d7ff91b
commit 0b2525c787
16 changed files with 19 additions and 30 deletions

View file

@ -1500,7 +1500,7 @@ impl<'a> Linker for L4Bender<'a> {
impl<'a> L4Bender<'a> {
pub fn new(cmd: Command, sess: &'a Session) -> L4Bender<'a> {
L4Bender { cmd, sess: sess, hinted_static: false }
L4Bender { cmd, sess, hinted_static: false }
}
fn hint_static(&mut self) {
@ -1520,7 +1520,7 @@ pub struct AixLinker<'a> {
impl<'a> AixLinker<'a> {
pub fn new(cmd: Command, sess: &'a Session) -> AixLinker<'a> {
AixLinker { cmd, sess: sess, hinted_static: None }
AixLinker { cmd, sess, hinted_static: None }
}
fn hint_static(&mut self) {