diff options
| author | bors <bors@rust-lang.org> | 2018-04-07 09:30:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-04-07 09:30:10 +0000 |
| commit | 04fef17143daad88bdc4314561e9c2eb5a364805 (patch) | |
| tree | b0bb324507ef843489202811b72d01947bd68c78 /src/libstd/sys | |
| parent | e0a9bd0f3cfd20694ff62ac8b74747adcdbbfa99 (diff) | |
| parent | 24b3a979860efad7a69a432c0f1bcbf35b8bbab7 (diff) | |
| download | rust-04fef17143daad88bdc4314561e9c2eb5a364805.tar.gz rust-04fef17143daad88bdc4314561e9c2eb5a364805.zip | |
Auto merge of #49753 - kennytm:rollup, r=kennytm
Rollup of 9 pull requests Successful merges: - #49510 (Fix anchor position on fields) - #49652 (Fix anchors issue when everything is collapsed) - #49702 (std: Inline some Termination-related methods) - #49728 (add emit_debug_gdb_scripts target option and ..) - #49731 (add THUMB targets to rustup manifest) - #49742 (Using X headings instead of 0.X #49739) - #49748 (proc_macro: Improve Debug representations) - #49750 (bootstrap: Remove the fast path) - #49503 (Inject the `compiler_builtins` crate whenever the `core` crate is injected) Failed merges:
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/unix/process/process_common.rs | 1 | ||||
| -rw-r--r-- | src/libstd/sys/windows/process.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/sys/unix/process/process_common.rs b/src/libstd/sys/unix/process/process_common.rs index b7f30600b8a..6396bb3a49e 100644 --- a/src/libstd/sys/unix/process/process_common.rs +++ b/src/libstd/sys/unix/process/process_common.rs @@ -404,6 +404,7 @@ impl ExitCode { pub const SUCCESS: ExitCode = ExitCode(EXIT_SUCCESS as _); pub const FAILURE: ExitCode = ExitCode(EXIT_FAILURE as _); + #[inline] pub fn as_i32(&self) -> i32 { self.0 as i32 } diff --git a/src/libstd/sys/windows/process.rs b/src/libstd/sys/windows/process.rs index afa8e3e1369..bd5507e8f89 100644 --- a/src/libstd/sys/windows/process.rs +++ b/src/libstd/sys/windows/process.rs @@ -414,6 +414,7 @@ impl ExitCode { pub const SUCCESS: ExitCode = ExitCode(EXIT_SUCCESS as _); pub const FAILURE: ExitCode = ExitCode(EXIT_FAILURE as _); + #[inline] pub fn as_i32(&self) -> i32 { self.0 as i32 } |
