about summary refs log tree commit diff
path: root/src/librustpkg/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustpkg/lib.rs')
-rw-r--r--src/librustpkg/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustpkg/lib.rs b/src/librustpkg/lib.rs
index 0526e7dd434..cedb21eeb2a 100644
--- a/src/librustpkg/lib.rs
+++ b/src/librustpkg/lib.rs
@@ -83,9 +83,9 @@ pub mod usage;
 /// A PkgScript represents user-supplied custom logic for
 /// special build hooks. This only exists for packages with
 /// an explicit package script.
-struct PkgScript<'self> {
+struct PkgScript<'a> {
     /// Uniquely identifies this package
-    id: &'self PkgId,
+    id: &'a PkgId,
     /// File path for the package script
     input: Path,
     /// The session to use *only* for compiling the custom
@@ -99,7 +99,7 @@ struct PkgScript<'self> {
     build_dir: Path
 }
 
-impl<'self> PkgScript<'self> {
+impl<'a> PkgScript<'a> {
     /// Given the path name for a package script
     /// and a package ID, parse the package script into
     /// a PkgScript that we can then execute