diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-10-25 15:56:55 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-10-25 15:56:55 +0200 |
| commit | cfdf193c4671a11e40743748d9cded9603386346 (patch) | |
| tree | dc7b1013eab9d6be0399816279d10b92f181abc2 /src/compiletest | |
| parent | 58c82a8da2b16878766b5dc630f7499166cceb21 (diff) | |
Update our code to new type parameter kind syntax
Closes #1067
Diffstat (limited to 'src/compiletest')
| -rw-r--r-- | src/compiletest/procsrv.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiletest/procsrv.rs b/src/compiletest/procsrv.rs index 5caf9f7d57a..173403690e5 100644 --- a/src/compiletest/procsrv.rs +++ b/src/compiletest/procsrv.rs @@ -154,17 +154,17 @@ fn worker(p: port<request>) { // Only windows needs to set the library path #[cfg(target_os = "win32")] -fn maybe_with_lib_path<@T>(path: str, f: fn@() -> T) -> T { +fn maybe_with_lib_path<T>(path: str, f: fn@() -> T) -> T { with_lib_path(path, f) } #[cfg(target_os = "linux")] #[cfg(target_os = "macos")] -fn maybe_with_lib_path<@T>(_path: str, f: fn@() -> T) -> T { +fn maybe_with_lib_path<T>(_path: str, f: fn@() -> T) -> T { f() } -fn with_lib_path<@T>(path: str, f: fn@() -> T) -> T { +fn with_lib_path<T>(path: str, f: fn@() -> T) -> T { let maybe_oldpath = getenv(util::lib_path_env_var()); append_lib_path(path); let res = f(); |
