diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-08 23:33:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-08 23:33:40 +0200 |
| commit | 3cae0e479e0b9138be9c53af178bb6eb12dfe9f1 (patch) | |
| tree | 6eb3d324c60ed56e8da4c2fa7840ad74aa24a773 /src/liballoc | |
| parent | cf0432a5f59df8b9915fc1a9eba1e82b93bd16c7 (diff) | |
| parent | 87cdfb6e71b0ebe3e41e04d8840a20d7428197be (diff) | |
| download | rust-3cae0e479e0b9138be9c53af178bb6eb12dfe9f1.tar.gz rust-3cae0e479e0b9138be9c53af178bb6eb12dfe9f1.zip | |
Rollup merge of #70565 - Zoxc:inlines-query-system, r=davidtwco
Add inline attributes for functions used in the query system
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/slice.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs index cd750d25580..4ae7532d992 100644 --- a/src/liballoc/slice.rs +++ b/src/liballoc/slice.rs @@ -140,6 +140,7 @@ mod hack { use crate::string::ToString; use crate::vec::Vec; + #[inline] pub fn into_vec<T>(b: Box<[T]>) -> Vec<T> { unsafe { let len = b.len(); |
