| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-07-27 | mv std libs to library/ | mark | -517/+0 | |
| 2020-05-12 | Map to -> return. | Laurence Tratt | -1/+1 | |
| 2020-05-04 | Fix typo. | Laurence Tratt | -2/+2 | |
| 2020-05-04 | Document that lifetimes do not currently appear in any::type_name()'s output. | Laurence Tratt | -1/+3 | |
| 2020-05-04 | Rephrase the any::type_name docs a bit. | Laurence Tratt | -7/+7 | |
| This attempts to be a little clearer (including in terminology) about the lack of guarantees that any::type_name provides. | ||||
| 2020-03-22 | get rid of ConstPropUnsupported; use ZST marker structs instead | Ralf Jung | -1/+1 | |
| 2020-01-28 | Minor: note why we can rely on Any trait for safety | Peter Todd | -2/+6 | |
| 2020-01-18 | Rollup merge of #68342 - lcnr:type_name_docs, r=Dylan-DPC | Mazdak Farrokhzad | -1/+5 | |
| improve type_name_of_val docs suggested by @Globidev in https://github.com/rust-lang/rust/issues/66359#issuecomment-575016612 | ||||
| 2020-01-18 | improve type_name_of_val docs | lcnr/Bastian Kauschke | -1/+5 | |
| 2019-12-22 | Format the world | Mark Rousskov | -14/+10 | |
| 2019-12-22 | Document why Any is not an unsafe trait | Mark Rousskov | -0/+10 | |
| 2019-12-21 | use _val to ignore parameter of any::type_name_of_val | Lzu Tao | -2/+1 | |
| 2019-12-18 | Propagate cfg bootstrap | Mark Rousskov | -10/+3 | |
| 2019-12-15 | fix doc comment | lcnr/Bastian Kauschke | -1/+1 | |
| 2019-12-13 | Require stable/unstable annotations for the constness of all stable ↵ | Oliver Scherer | -3/+6 | |
| functions with a `const` modifier | ||||
| 2019-11-29 | Minor documentation fix | Mikotochan | -1/+1 | |
| Fixed the documentation for any as is a trait rather than a type. | ||||
| 2019-11-23 | Rollup merge of #65961 - lcnr:typename_of, r=Dylan-DPC | Mazdak Farrokhzad | -1/+40 | |
| add fn type_name_of_val This function is often useful during testing and mirrors `align_of_val` and `size_of_val`. # Example Showing the default type of integers. ```rust let x = 7; println!("per default, integers have the type: {}", std::any::type_name_of_val(&x)); ``` To my knowledge this can currently not be done without defining a function similar to `type_name_of_val`. | ||||
| 2019-11-19 | add fn any::type_name_of_val | lcnr/Bastian Kauschke | -1/+40 | |
| 2019-11-06 | Halloween... time to get rid of 👻 | Oliver Scherer | -2/+2 | |
| 2019-11-06 | Have tidy ensure that we document all `unsafe` blocks in libcore | Oliver Scherer | -0/+6 | |
| 2019-10-16 | add example for type_name | Lzu Tao | -0/+9 | |
| 2019-10-13 | Added code element | Cerberuser | -1/+1 | |
| Co-Authored-By: Jonas Schievink <jonasschievink@gmail.com> | ||||
| 2019-10-13 | Add `dyn` to `Any` documentation | Cerberuser | -5/+5 | |
| I noticed that in documentation to `Any` trait the old trait object syntax is used, which could be confusing for newcomers, since we generally recommend using `dyn Trait` instead of just `Trait`. This PR changes the documentation comment, so that it uses `&dyn Any`, `&mut dyn Any` and `Box<dyn Any>`, correspondingly. | ||||
| 2019-10-01 | Remove unneeded `fn main` blocks from docs | Lzu Tao | -56/+34 | |
| 2019-09-06 | A few cosmetic improvements to code & comments in liballoc and libcore | Alexander Regueiro | -3/+3 | |
| 2019-08-14 | Handle cfg(bootstrap) throughout | Mark Rousskov | -5/+0 | |
| 2019-07-29 | Add the necessary changes to any.rs | TankhouseAle | -1/+2 | |
| Specifically the `#[rustc_const_unstable(feature = "const_type_name")]` attribute, as well as marking the actual function as `const`. | ||||
| 2019-07-24 | Stabilize the type_name intrinsic in core::any | Steven Fackler | -0/+26 | |
| Closes rust-lang/rfcs#1428 | ||||
| 2019-04-19 | libcore: deny more... | Mazdak Farrokhzad | -3/+3 | |
| 2019-04-18 | libcore => 2018 | Taiki Endo | -2/+2 | |
| 2019-02-10 | tests: doc comments | Alexander Regueiro | -3/+3 | |
| 2019-01-22 | Stabilize Any::get_type_id and rename to type_id | Simon Sapin | -10/+6 | |
| FCP: https://github.com/rust-lang/rust/issues/27745#issuecomment-373906749 | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -1/+1 | |
| 2018-11-19 | Update any.rs documentation using keyword dyn | 0xrgb | -11/+11 | |
| 2018-07-25 | Enforce #![deny(bare_trait_objects)] in src/libcore | ljedrz | -8/+8 | |
| 2018-07-03 | Any docs preposition change | Ethan McCue | -1/+1 | |
| This changes the docs referring to where a user should be wary of depending on "Any" trait impls from warning about relying on them "outside" of their code to warning about relying on them "inside" of their code. | ||||
| 2018-05-31 | Fix up Any doc examples | Jeremy Fitzhardinge | -3/+3 | |
| Make the Any+Send+Sync examples use the right trait bounds, and fix a small whitespace issue. | ||||
| 2018-05-31 | Add implementations for Any + Send + Sync | Jeremy Fitzhardinge | -0/+90 | |
| Implement `is`, `downcast_ref`, `downcast_mut` and `Debug` for `Any + Send + Sync`. | ||||
| 2018-02-20 | stage0 cfg cleanup | Mark Simulacrum | -26/+0 | |
| 2018-02-01 | Turn `type_id` into a constant intrinsic | Badel2 | -0/+27 | |
| Add rustc_const_unstable attribute for `any::TypeId::of` Add test for `const fn TypeId::of` | ||||
| 2017-03-22 | Various fixes to wording consistency in the docs | Stjepan Glavina | -1/+1 | |
| 2017-02-14 | Auto merge of #38981 - sdleffler:patch-1, r=alexcrichton | bors | -1/+5 | |
| Add PartialOrd, Ord derivations to TypeId I want to be able to sort a `Vec` of types which contain `TypeId`s, so an `Ord` derivation would be very useful to me. `Hash` and `PartialEq`/`Eq` already exist, so the missing `PartialOrd` and `Ord` derivations feel like an oversight to me. | ||||
| 2017-01-17 | Add warning about varying hashes/orderings | Sean Leffler | -0/+4 | |
| 2017-01-13 | Change `to_owned` to `to_string` in docs | Stjepan Glavina | -8/+8 | |
| We should teach conversion from `str` to `String` using `to_string` rather than the legacy `to_owned`. | ||||
| 2017-01-10 | Add PartialOrd, Ord derivations to TypeId | Sean Leffler | -1/+1 | |
| I want to be able to sort a `Vec` of types which contain `TypeId`s, so an `Ord` derivation would be very useful to me. `Hash` already exists, so the missing `PartialOrd` and `Ord` derivations feel like an oversight to me. | ||||
| 2016-10-17 | Add stable example to TypeId | Jethro Beekman | -4/+2 | |
| 2016-10-12 | Deprecate `Reflect` | Nick Cameron | -4/+3 | |
| [tracking issue](https://github.com/rust-lang/rust/issues/27749) | ||||
| 2016-08-26 | Replace unnecessary uses of `TraitObject` with casts | Andrew Paseltiner | -12/+2 | |
| 2016-08-24 | Use `#[prelude_import]` in `libcore`. | Jeffrey Seyfried | -3/+1 | |
