| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-09-08 | Revert "Fix documentation and formatting." | Jacob Kiesel | -7/+9 | |
| This reverts commit 2e34ff767113c6a15c5862b0646ca9ad7ffd81b1. | ||||
| 2017-09-06 | Rollup merge of #44328 - mcomstock:from-str-doc-fix, r=steveklabnik | Mark Simulacrum | -1/+0 | |
| Removed the incorrect documentation for from_str Fixes #44242. | ||||
| 2017-09-06 | Rollup merge of #44206 - MarkMcCaskey:master, r=steveklabnik | Mark Simulacrum | -3/+1 | |
| update unimplemented! docs For #42628 (updating docs from changes from #42155). Initial changes made to make `unimplemented!` doc comments look more like `unreachable!` and remove statement about the panic message. r? @steveklabnik | ||||
| 2017-09-06 | Rollup merge of #44097 - Xaeroxe:clamp, r=burntsushi | Mark Simulacrum | -0/+24 | |
| Add clamp functions Implementation of clamp feature: Tracking issue: https://github.com/rust-lang/rust/issues/44095 RFC: https://github.com/rust-lang/rfcs/pull/1961 | ||||
| 2017-09-04 | Removed the incorrect documentation for from_str | Max Comstock | -1/+0 | |
| 2017-09-04 | Additional traits for std::mem::ManuallyDrop | Lance Roy | -4/+61 | |
| Add pass-through implementations for all of the derivable traits. These cannot be derived since ManuallyDrop is a union. | ||||
| 2017-09-04 | Derive std::mem::ManuallyDrop from Clone and Copy. | Lance Roy | -0/+14 | |
| Although types that don't implement Drop can't be Copyable, this can still be useful when ManuallyDrop is used inside a generic type. This doesn't derive from Copy as that would require T: Copy + Clone, instead it provides an impl of Clone for T: Clone. | ||||
| 2017-09-03 | Auto merge of #44263 - durka:stabilize-discriminant, r=dtolnay | bors | -9/+8 | |
| stabilize mem::discriminant (closes #24263) | ||||
| 2017-09-03 | Manuall rebase of @Migi pull/41336 | Eh2406 | -0/+51 | |
| 2017-09-03 | add error message for the other case too | Ariel Ben-Yehuda | -1/+6 | |
| 2017-09-03 | on_unimplemented: add method-name checks and use them in Try | Ariel Ben-Yehuda | -1/+3 | |
| 2017-09-03 | address review comments | Ariel Ben-Yehuda | -2/+3 | |
| 2017-09-03 | enable desugaring-sensitive error messages and use them in Try | Ariel Ben-Yehuda | -2/+10 | |
| Maybe I should allow error messages to check the *specific* desugaring? Thanks @huntiep for the idea! | ||||
| 2017-09-02 | Merge branch 'master' of git://github.com/rust-lang/rust | MarkMcCaskey | -141/+1 | |
| 2017-09-02 | stabilize mem::discriminant (closes #24263) | Alex Burka | -9/+8 | |
| 2017-09-01 | impl From<Infallible> for TryFromIntError. | Jimmy Cuadra | -2/+17 | |
| 2017-09-01 | Reword docs for Infallible to make them easier to understand. | Jimmy Cuadra | -6/+5 | |
| 2017-09-01 | Fix documentation and formatting. | Jacob Kiesel | -9/+7 | |
| 2017-08-31 | Merge branch 'master' into master | Mark | -12/+35 | |
| 2017-08-31 | Update bootstrap compiler | Alex Crichton | -141/+1 | |
| This commit updates the bootstrap compiler and clears out a number of #[cfg(stage0)] annotations and related business | ||||
| 2017-08-30 | update unimplemented! docs | MarkMcCaskey | -2/+5 | |
| 2017-08-30 | Rollup merge of #44160 - AndyGauge:api-docs-macros, r=steveklabnik | Alex Crichton | -14/+42 | |
| API docs: macros. Standard Documentation Checklist Fixes #29381 r? @steveklabnik | ||||
| 2017-08-30 | Remove Borrow bound from SliceExt::binary_search | Chris Stankus | -15/+10 | |
| 2017-08-30 | Remove test case that assumes FromStr provides TryFrom<&'a str>. | Jimmy Cuadra | -1/+0 | |
| See https://travis-ci.org/rust-lang/rust/jobs/269861252 | ||||
| 2017-08-30 | Implement TryFrom explicitly for infallible numeric conversions. | Jimmy Cuadra | -6/+8 | |
| See https://github.com/rust-lang/rust/pull/44174#discussion_r135982787 | ||||
| 2017-08-30 | Auto merge of #43903 - oli-obk:alignto, r=aturon | bors | -1/+82 | |
| Add align_offset intrinsic see https://github.com/rust-lang/rfcs/pull/2043 for details and the plan towards stabilization (reexport in `core::mem` via various convenience functions) as per @scottmcm 's [comment](https://github.com/rust-lang/rfcs/pull/2043#issuecomment-316818169), this is just the intrinsic (which is obviously unstable). | ||||
| 2017-08-29 | Add blanket TryFrom impl when From is implemented. | Jimmy Cuadra | -44/+42 | |
| Adds `impl<T, U> TryFrom<T> for U where U: From<T>`. Removes `impl<'a, T> TryFrom<&'a str> for T where T: FromStr` due to overlapping impls caused by the new blanket impl. This removal is to be discussed further on the tracking issue for TryFrom. Refs #33417. | ||||
| 2017-08-29 | Rollup merge of #44158 - dtolnay:zero48, r=sfackler | Ariel Ben-Yehuda | -1/+1 | |
| Use a byte literal ASCII 0 instead of its decimal value @SimonSapin noticed this in https://github.com/dtolnay/itoa/pull/8. | ||||
| 2017-08-29 | Rollup merge of #43705 - panicbit:option_ref_mut_cloned, r=aturon | Ariel Ben-Yehuda | -0/+20 | |
| libcore: Implement cloned() for Option<&mut T> None | ||||
| 2017-08-29 | API docs: macros. Part of #29329 Standard Library Documentation Checklist. | Andy Gauge | -14/+42 | |
| 2017-08-29 | Use a byte literal ASCII 0 instead of its decimal value | David Tolnay | -1/+1 | |
| 2017-08-28 | Merge branch 'master' of https://github.com/rust-lang/rust into gen | John Kåre Alsaker | -14/+8 | |
| 2017-08-27 | Move unused-extern-crate to late pass | Tatsuyuki Ishi | -4/+0 | |
| 2017-08-26 | Add clamp functions | Jacob Kiesel | -0/+26 | |
| 2017-08-26 | Rollup merge of #44072 - lukaramu:fix-doc-headings, r=steveklabnik | Corey Farwell | -8/+8 | |
| Fix inconsistent doc headings This fixes headings reading "Unsafety" and "Example", they should be "Safety" and "Examples" according to RFC 1574. r? @steveklabnik | ||||
| 2017-08-25 | *: remove crate_{name,type} attributes | Tamir Duberstein | -2/+0 | |
| Fixes #41701. | ||||
| 2017-08-25 | Merge remote-tracking branch 'origin/master' into gen | Alex Crichton | -0/+13 | |
| 2017-08-25 | Auto merge of #44031 - scottmcm:swap_with_slice, r=alexcrichton | bors | -0/+13 | |
| Add [T]::swap_with_slice The safe version of a method from `ptr`, like `[T]::copy_from_slice` is. Tracking issue: https://github.com/rust-lang/rust/issues/44030 | ||||
| 2017-08-24 | Fix inconsistent doc headings | lukaramu | -8/+8 | |
| This fixes headings reading "Unsafety" and "Example", they should be "Safety" and "Examples" according to RFC 1574. | ||||
| 2017-08-22 | Update intrinsics.rs | Oliver Schneider | -2/+2 | |
| 2017-08-21 | Add [T]::swap_with_slice | Scott McMurray | -0/+13 | |
| The safe version of a method from ptr, like [T]::copy_from_slice | ||||
| 2017-08-21 | Merge remote-tracking branch 'origin/master' into gen | Alex Crichton | -0/+8 | |
| 2017-08-22 | Auto merge of #43690 - scalexm:issue-28229, r=nikomatsakis | bors | -0/+8 | |
| Generate builtin impls for `Clone` This fixes a long-standing ICE and limitation where some builtin types implement `Copy` but not `Clone` (whereas `Clone` is a super trait of `Copy`). However, this PR has a few side-effects: * `Clone` is now marked as a lang item. * `[T; N]` is now `Clone` if `T: Clone` (currently, only if `T: Copy` and for `N <= 32`). * `fn foo<'a>() where &'a mut (): Clone { }` won't compile anymore because of how bounds for builtin traits are handled (e.g. same thing currently if you replace `Clone` by `Copy` in this example). Of course this function is unusable anyway, an error would pop as soon as it is called. Hence, I'm wondering wether this PR would need an RFC... Also, cc-ing @nikomatsakis, @arielb1. Related issues: #28229, #24000. | ||||
| 2017-08-21 | Merge remote-tracking branch 'origin/master' into gen | Alex Crichton | -29/+75 | |
| 2017-08-21 | Add align_offset intrinsic | Oliver Schneider | -1/+82 | |
| see https://github.com/rust-lang/rfcs/pull/2043 for details | ||||
| 2017-08-20 | Auto merge of #43996 - shanavas786:fix-typo, r=frewsxcv | bors | -1/+1 | |
| Fix typo in doc | ||||
| 2017-08-20 | Auto merge of #43978 - GuillaumeGomez:missing-links, r=frewsxcv | bors | -27/+73 | |
| Missing links r? @rust-lang/docs | ||||
| 2017-08-20 | Fix typo in doc | Shanavas M | -1/+1 | |
| 2017-08-18 | Minor Iterator::filter_map description rewording. | Corey Farwell | -1/+1 | |
| Fixes https://github.com/rust-lang/rust/issues/39294. | ||||
| 2017-08-18 | Add missing urls for Result struct | Guillaume Gomez | -27/+73 | |
