about summary refs log tree commit diff
path: root/library/core/src/clone.rs
AgeCommit message (Expand)AuthorLines
2025-07-04clippy fix: rely on autoderefMarijn Schouten-1/+1
2025-06-19Make `Clone` a `const_trait`Daniel Bloom-2/+7
2025-06-16library/compiler: add `PointeeSized` boundsDavid Wood-6/+10
2025-05-31std: clarify Clone trait documentation about duplication semanticsxizheyin-2/+37
2025-04-10Auto merge of #139279 - BoxyUwU:bump-boostrap, r=jieyouxubors-1/+1
2025-04-09update cfgsBoxy-1/+1
2025-04-09Remove redundant wordstimesince-1/+1
2025-03-10Rewrite example to not deal with `Copy` at all.Kevin Reid-17/+19
2025-03-10Rewrite comments about dropping and leaking.Kevin Reid-16/+26
2025-03-07Expand `CloneToUninit` documentation.Kevin Reid-28/+131
2025-03-07Rollup merge of #134797 - spastorino:ergonomic-ref-counting-1, r=nikomatsakisMatthias Krüger-0/+53
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-2/+2
2025-03-06Add examples in stdlib demonstrating the use syntaxSantiago Pastorino-0/+19
2025-03-06Add UseCloned trait related codeSantiago Pastorino-0/+34
2025-01-22Implement `CloneToUninit` for `ByteStr`Josh Triplett-0/+10
2024-11-12Make `CloneToUninit` dyn-compatibleZachary S-14/+15
2024-09-05update cfgsBoxy-1/+1
2024-07-29CloneToUninit: use a private specialization traitPavel Grigorenko-117/+6
2024-07-29Sparkle some attributes over `CloneToUninit` stuffPavel Grigorenko-0/+7
2024-07-29impl CloneToUninit for str and CStrPavel Grigorenko-0/+21
2024-07-25Make Clone::clone a lang itemBen Kimock-0/+3
2024-07-02chore: remove duplicate wordshattizai-1/+1
2024-06-22Add `core::clone::CloneToUninit`.Kevin Reid-0/+186
2024-04-10Revert "Put basic impls for f16 and f128 behind cfg(not(bootstrap))"Trevor Gross-4/+1
2024-04-02Put basic impls for f16 and f128 behind cfg(not(bootstrap))Trevor Gross-1/+4
2024-03-28Add basic trait impls for `f16` and `f128`Trevor Gross-1/+1
2023-12-10remove redundant importssurechen-2/+0
2023-07-30Explain more clearly why `fn() -> T` can't be `#[derive(Clone)]`Martin Nordholts-0/+40
2023-04-16core is now compilableDeadbeef-2/+1
2023-04-16rm const traits in libcoreDeadbeef-15/+5
2022-12-07Make some trivial functions `#[inline(always)]`Eduardo Sánchez Muñoz-5/+4
2022-07-01update cfg(bootstrap)sPietro Albini-2/+1
2022-06-07docs: show Clone and Copy on () doc pagesMichael Howell-1/+0
2022-05-30Remove `#[default..]` and add `#[const_trait]`Deadbeef-1/+2
2022-04-05trivial cfg(bootstrap) changesPietro Albini-2/+1
2022-03-21Rename `~const Drop` to `~const Destruct`Deadbeef-1/+4
2021-12-12Make some `Clone` impls `const`woppopo-6/+15
2021-11-08Update Copy/Clone documentation WRT arraysbstrie-1/+0
2021-10-23update cfg(bootstrap)Pietro Albini-1/+1
2021-09-09Ignore automatically derived impls of `Clone` and `Debug` in dead code analysisFabian Wolff-0/+1
2021-06-10Updates `Clone` docs for `Copy` comparison.qwerty01-1/+1
2021-03-03Fix core testsRyan Levick-0/+1
2021-03-03Fix testsRyan Levick-0/+1
2021-03-03Add tests and support two more noop methodsRyan Levick-2/+1
2021-03-03First version of noop-lintRyan Levick-0/+2
2020-09-01Improve readabilityDenis Vasilik-2/+6
2020-09-01Use intra-doc linksDenis Vasilik-9/+2
2020-07-27mv std libs to library/mark-0/+235