aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Expand)Author
2023-06-16Format PR 1228 with clang-formatDavid Tolnay
2023-06-14Fix #1227Bill Avery
2021-12-31Touch up PR 984David Tolnay
2021-12-31Implement rust::Vec clear in terms of truncate(0)David Tolnay
2021-12-31Merge pull request #984 from benesch/lossyDavid Tolnay
2021-12-27Add String::lossy constructors to C++ APINikhil Benesch
2021-12-26Add Vec<T>::truncate to C++ APINikhil Benesch
2021-12-08Touch up PR 951David Tolnay
2021-10-29Expose Rust's Vec<T>::clear() method.Johan Verwey
2021-10-20Added 'clear' method to rust::VecJohan Verwey
2021-08-27Expose capacity and reserve on rust::StringDavid Tolnay
2021-08-27Consistently use new_cap in signatures of reserve_totalDavid Tolnay
2021-08-26Switch from 'index' to 'ptr'Isaac Goldberg
2021-08-26Don't shadow `pos`Isaac Goldberg
2021-08-03Added UTF-16 rust::String initializationGerhard de Clercq
2021-04-28Add 'bool empty() const noexcept' to Str, StringDavid Tolnay
2021-04-08Fix rust::Fn call with non-const reference argumentDavid Tolnay
2021-03-28Allow slice null ptr safely if slice is emptyDavid Tolnay
2021-03-28Debug assert that rust::Slice isn't constructed with C++ null ptrDavid Tolnay
2021-03-26Fix warning on unused unsafe_bitcopy variableDavid Tolnay
2021-03-22Update C++ formatting to clang-format 11David Tolnay
2021-03-22Format PR 714 with clang-format 10David Tolnay
2021-02-11Disallow assignment to rvalueDavid Tolnay
2021-02-11Remove this != &other checks from move assignment operatorsDavid Tolnay
2021-01-02Fix remaining "C-linkage specified, but returns UDT" warnings on macOSDavid Tolnay
2021-01-02Clean up stray whitespace from PR 642David Tolnay
2021-01-02Hide slice implementation details from name lookupDavid Tolnay
2021-01-02Fix slice compilation on MSVCDavid Tolnay
2021-01-02Preserve &[T]'s Rust representation in rust::SliceDavid Tolnay
2021-01-02Restore swapping Str and Slice in member function form onlyDavid Tolnay
2021-01-02Preserve &str's original Rust representation in C++David Tolnay
2021-01-02Elide template parameters in swaps where unneededDavid Tolnay
2021-01-02Move swap member functions below less-niche functionsDavid Tolnay
2021-01-02Remove Str and Slice swapsDavid Tolnay
2021-01-02Touch up PR 642David Tolnay
2021-01-02Format PR 642 with clang-format 10David Tolnay
2021-01-02Merge pull request 642 from capickett/swapDavid Tolnay
2021-01-02Remove implicit Box copy operations to match unique_ptrDavid Tolnay
2021-01-02Add swap members + ADL functionsCameron Pickett
2021-01-02Remove rust::Slice repr conversion on the C++ sideDavid Tolnay
2021-01-02Fix a wrong cast in Slice<T>::iterator::operator[]David Tolnay
2020-12-28Restyle Box::value_type deprecation to be preserved in generated codeDavid Tolnay
2020-12-27Define member type Slice<T>::value_type = TDavid Tolnay
2020-12-27Rename Box value_type to element_typeDavid Tolnay
2020-12-27Reuse Slice<T>'s iterator for Vec iteration tooDavid Tolnay
2020-12-27Eliminate Vec stride symbol in favor of size_ofDavid Tolnay
2020-12-27Update Slice implementation to respect runtime size_ofDavid Tolnay
2020-12-27Obtain accurate alignment for empty slice of opaque Rust typeDavid Tolnay
2020-12-27Obtain Slice iterator stride in a way that works for opaque typesDavid Tolnay
2020-12-27Track stride as runtime value in Slice iteratorDavid Tolnay