@@ -274,7 +274,7 @@ pub enum GlobalCommand<'a> {
274274 Upgrade ( UpgradeArgs < ' a > ) ,
275275}
276276
277- impl < ' a > GlobalCommand < ' a > {
277+ impl GlobalCommand < ' _ > {
278278 pub fn executor ( self , platform : & PlatformSpec ) -> Fallible < Executor > {
279279 match self {
280280 GlobalCommand :: Install ( cmd) => cmd. executor ( platform) ,
@@ -294,7 +294,7 @@ pub struct InstallArgs<'a> {
294294 tools : Vec < & ' a OsStr > ,
295295}
296296
297- impl < ' a > InstallArgs < ' a > {
297+ impl InstallArgs < ' _ > {
298298 /// Convert these global install arguments into an executor for the command
299299 ///
300300 /// If there are multiple packages specified to install, then they will be broken out into
@@ -329,7 +329,7 @@ pub struct UninstallArgs<'a> {
329329 tools : Vec < & ' a OsStr > ,
330330}
331331
332- impl < ' a > UninstallArgs < ' a > {
332+ impl UninstallArgs < ' _ > {
333333 /// Convert the tools into an executor for the uninstall command
334334 ///
335335 /// Since the packages are sandboxed, each needs to be uninstalled separately
@@ -355,7 +355,7 @@ pub struct UpgradeArgs<'a> {
355355 tools : Vec < & ' a OsStr > ,
356356}
357357
358- impl < ' a > UpgradeArgs < ' a > {
358+ impl UpgradeArgs < ' _ > {
359359 /// Convert these global upgrade arguments into an executor for the command
360360 ///
361361 /// If there are multiple packages specified to upgrade, then they will be broken out into
@@ -428,7 +428,7 @@ pub struct LinkArgs<'a> {
428428 tools : Vec < & ' a OsStr > ,
429429}
430430
431- impl < ' a > LinkArgs < ' a > {
431+ impl LinkArgs < ' _ > {
432432 pub fn executor ( self , platform : Platform , project_name : Option < String > ) -> Fallible < Executor > {
433433 if self . tools . is_empty ( ) {
434434 // If no tools are specified, then this is a bare link command, linking the current
0 commit comments