rust/src/liballoc
Zack M. Davis ab91a6b4df #[must_use] for associated functions is supposed to actually work
In the comments of (closed, defunct) pull request #54884, Mazdak
"Centril" Farrokhzad noted that must-use annotations didn't work on an
associated function (what other communities might call a "static
method"). Subsequent logging revealed that in this case we have a
`Def::Method`, whereas the lint pass was only matching on
`Def::Fn`. (One could argue that those def-names are thereby
misleading—must-use for self-ful methods have always worked—but
documenting or reworking that can be left to another day.)
2018-10-12 22:01:43 -07:00
..
benches Fix slice's benchmarks 2018-10-10 22:55:12 -07:00
collections remove a now outdated comment 2018-10-10 09:16:05 +02:00
tests Stabilize min_const_fn 2018-10-05 10:36:14 +02:00
alloc.rs Replace usages of ptr::offset with ptr::{add,sub}. 2018-08-20 07:28:34 -04:00
borrow.rs Review fix 2018-08-15 22:06:35 +03:00
boxed.rs Indicate how to move value out of Box in docs. 2018-09-28 22:41:13 -04:00
boxed_test.rs Add missing dyn in liballoc 2018-07-10 22:32:19 +02:00
Cargo.toml Breaking change upgrades 2018-09-04 13:22:08 -06:00
fmt.rs Reexport fmt::Alignment into std 2018-06-03 17:04:48 +02:00
lib.rs alloc: fix deprecated warnings 2018-10-09 08:58:01 +02:00
macros.rs fix some typos 2017-11-21 15:33:45 +01:00
prelude.rs Add the alloc::prelude module 2018-07-07 23:08:43 +02:00
raw_vec.rs Rollup merge of #53329 - frewsxcv:frewsxcv-ptr-add-sub, r=RalfJung 2018-08-21 22:05:30 +08:00
rc.rs #[must_use] for associated functions is supposed to actually work 2018-10-12 22:01:43 -07:00
slice.rs Also rename ExactChunks iterator name to ChunksExact 2018-09-25 08:56:48 +03:00
str.rs liballoc: mark str.to_owned() and String::from(&str) as #[inline]. 2018-09-27 12:08:03 +02:00
string.rs liballoc: mark str.to_owned() and String::from(&str) as #[inline]. 2018-09-27 12:08:03 +02:00
sync.rs #[must_use] for associated functions is supposed to actually work 2018-10-12 22:01:43 -07:00
task.rs Switch to bootstrapping from 1.29 beta 2018-08-01 11:59:08 -06:00
vec.rs Refactor macro comment and add resize with zeros example 2018-10-09 01:51:22 -04:00