diff options
| author | hi-rustin <rustin.liu@gmail.com> | 2024-01-11 09:41:23 +0800 |
|---|---|---|
| committer | hi-rustin <rustin.liu@gmail.com> | 2024-01-11 09:45:21 +0800 |
| commit | 784b50cece5df7cf6539cb7912a17ae270c9268d (patch) | |
| tree | d7f47d727a28e1ed18169f39ee936483ae01f815 | |
| parent | 9522993b033e57579dcdee960d8792932aba791f (diff) | |
| download | rust-784b50cece5df7cf6539cb7912a17ae270c9268d.tar.gz rust-784b50cece5df7cf6539cb7912a17ae270c9268d.zip | |
chore: remove unnecessary blank line
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
| -rw-r--r-- | library/alloc/src/raw_vec.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/alloc/src/raw_vec.rs b/library/alloc/src/raw_vec.rs index 74fa30456eb..45e82240164 100644 --- a/library/alloc/src/raw_vec.rs +++ b/library/alloc/src/raw_vec.rs @@ -552,7 +552,6 @@ fn handle_reserve(result: Result<(), TryReserveError>) { // `> isize::MAX` bytes will surely fail. On 32-bit and 16-bit we need to add // an extra guard for this in case we're running on a platform which can use // all 4GB in user-space, e.g., PAE or x32. - #[inline] fn alloc_guard(alloc_size: usize) -> Result<(), TryReserveError> { if usize::BITS < 64 && alloc_size > isize::MAX as usize { |
