| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-04-20 | Stop accessing module level int consts via crate::<Ty> | Linus Färnstrand | -1/+1 | |
| 2020-04-03 | Make documentation examples use new integer assoc consts | Linus Färnstrand | -2/+2 | |
| 2019-12-22 | no longer promote non-pattern const functions | Ralf Jung | -3/+0 | |
| 2019-12-18 | Propagate cfg bootstrap | Mark Rousskov | -12/+12 | |
| 2019-12-13 | Require stable/unstable annotations for the constness of all stable ↵ | Oliver Scherer | -0/+12 | |
| functions with a `const` modifier | ||||
| 2019-11-26 | Format libcore with rustfmt | David Tolnay | -39/+33 | |
| This commit applies rustfmt with default settings to files in src/libcore *that are not involved in any currently open PR* to minimize merge conflicts. The list of files involved in open PRs was determined by querying GitHub's GraphQL API with this script: https://gist.github.com/dtolnay/aa9c34993dc051a4f344d1b10e4487e8 With the list of files from the script in `outstanding_files`, the relevant commands were: $ find src/libcore -name '*.rs' | xargs rustfmt --edition=2018 $ rg libcore outstanding_files | xargs git checkout -- Repeating this process several months apart should get us coverage of most of the rest of libcore. | ||||
| 2019-11-06 | Have tidy ensure that we document all `unsafe` blocks in libcore | Oliver Scherer | -1/+1 | |
| 2019-07-30 | fix tests | Artyom Pavlov | -0/+2 | |
| 2019-07-30 | mark div_duration methods as unstable, update tracking issue | Artyom Pavlov | -2/+2 | |
| 2019-07-17 | unconstify methods | newpavlov | -2/+2 | |
| 2019-07-17 | stabilize duration_float | newpavlov | -20/+10 | |
| 2019-04-19 | libcore: deny more... | Mazdak Farrokhzad | -2/+2 | |
| 2019-04-18 | libcore => 2018 | Taiki Endo | -5/+5 | |
| 2019-03-12 | fix typo | Artyom Pavlov | -1/+1 | |
| 2019-03-11 | fix test | Artyom Pavlov | -2/+2 | |
| 2019-03-11 | fix tests | newpavlov | -5/+9 | |
| 2019-03-11 | move MAX_NANOS_F64/32 to methods | newpavlov | -2/+4 | |
| 2019-03-11 | consistent naming for duration_float methods and additional f32 methods | newpavlov | -9/+121 | |
| 2019-02-23 | Rollup merge of #58595 - stjepang:make-duration-consts-associated, r=oli-obk | Mazdak Farrokhzad | -16/+52 | |
| Turn duration consts into associated consts As suggested in https://github.com/rust-lang/rust/issues/57391#issuecomment-459658236, I'm moving `Duration` constants (`SECOND`, `MILLISECOND` and so on; currently behind unstable `duration_constants` feature) into the `impl Duration` block. cc @frewsxcv @SimonSapin | ||||
| 2019-02-21 | Enable feature duration_constants in examples | Stjepan Glavina | -0/+4 | |
| 2019-02-20 | Add examples for duration constants | Stjepan Glavina | -0/+32 | |
| 2019-02-20 | Turn duration consts into associated consts | Stjepan Glavina | -16/+16 | |
| 2019-02-10 | libs: doc comments | Alexander Regueiro | -1/+1 | |
| 2019-02-10 | tests: doc comments | Alexander Regueiro | -1/+1 | |
| 2019-01-07 | Specify the tracking issue | Stjepan Glavina | -4/+4 | |
| 2019-01-06 | Add duration constants | Stjepan Glavina | -0/+16 | |
| 2018-12-26 | Stabilize duration_as_u128 | Sunjay Varma | -6/+3 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -9/+0 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -3/+3 | |
| 2018-11-10 | constify parts of libstd. | Mazdak Farrokhzad | -0/+0 | |
| 2018-11-10 | constify libcore/time.rs | Mazdak Farrokhzad | -8/+4 | |
| 2018-10-31 | Bump nightly to 1.32.0 | Alex Crichton | -4/+4 | |
| * Also update the bootstrap compiler * Update cargo to 1.32.0 * Clean out stage0 annotations | ||||
| 2018-10-03 | Only promote calls to `#[rustc_promotable]` const fns | Oliver Schneider | -0/+4 | |
| 2018-09-20 | Rollup merge of #52813 - newpavlov:duration_mul_div_extras, r=alexcrichton | kennytm | -1/+120 | |
| Duration div mul extras Successor of #52556. This PR adds the following `impl`s: - `impl Mul<Duration> for u32` (to allow `10*SECOND` in addition to `SECOND*10`) - `impl Mul<f64> for Duration` (to allow `2.5*SECOND` vs `2*SECOND + 500*MILLISECOND`) - `impl Mul<Duration> for f64` - `impl MulAssign<f64> for Duration` - `impl Div<f64> for Duration` - `impl DivAssign<f64> for Duration` - `impl Div<Duration> for Duration` (`Output = f64`, can be useful e.g. for `duration/MINUTE`) `f64` is chosen over `f32` to minimize rounding errors. (52 bits fraction precision vs `Duration`'s ~94 bit) | ||||
| 2018-09-19 | Added tracking issue, fixed check, 1.30 -> 1.31 | Artyom Pavlov | -8/+8 | |
| 2018-09-13 | add panics section to method docs | Artyom Pavlov | -0/+9 | |
| 2018-09-13 | move checks to from_float_secs | Artyom Pavlov | -25/+15 | |
| 2018-09-13 | remove trailing spaces | Artyom Pavlov | -2/+2 | |
| 2018-09-13 | add as_float_secs and from_float_secs methods, refactor float methods | Artyom Pavlov | -36/+55 | |
| 2018-09-12 | fix tests | Artyom Pavlov | -3/+3 | |
| 2018-09-12 | fix tests | Artyom Pavlov | -1/+4 | |
| 2018-09-12 | fix doctests | Artyom Pavlov | -0/+6 | |
| 2018-09-12 | more explicit impl | Artyom Pavlov | -1/+1 | |
| 2018-09-12 | remove newline | Artyom Pavlov | -1/+0 | |
| 2018-09-12 | Move float ops to unstable inherent methods | Artyom Pavlov | -84/+83 | |
| 2018-08-04 | Remove redundant field names in structs | ljedrz | -4/+4 | |
| 2018-08-04 | 1.29.0 -> 1.30.0 | Артём Павлов [Artyom Pavlov] | -7/+7 | |
| 2018-07-31 | don't duplicate impls | Артём Павлов [Artyom Pavlov] | -17/+2 | |
| 2018-07-30 | change negativity check | Артём Павлов [Artyom Pavlov] | -12/+12 | |
| 2018-07-29 | add MAX_NANOS_F64 constant | Артём Павлов [Artyom Pavlov] | -3/+4 | |
