- 24 11月, 2014 18 次提交
-
-
由 bors 提交于
-
由 Jakub Bukaj 提交于
-
由 Jakub Bukaj 提交于
A fix for a windows problem pointed by @retep998 in the PR #16552.
-
由 Jakub Bukaj 提交于
This PR: - makes rustdoc colour trait methods like other functions in search results; - makes rustdoc display `extern crate` statements with the new `as` syntax instead of the old `=` syntax; - changes rustdoc to list constants and statics in a way that is more similar to functions and modules and show their full definition and documentation on their own page, fixing #19046: ![Constant listing](https://i.imgur.com/L4ZTOCN.png) ![Constant page](https://i.imgur.com/RcjZfCv.png)
-
由 Jakub Bukaj 提交于
-
由 Jakub Bukaj 提交于
r?
-
由 Jakub Bukaj 提交于
transmute_copy is no longer needed and is just slow.
-
由 Jakub Bukaj 提交于
Closes https://github.com/rust-lang/rust/issues/19077 I would appreciate any guidance on how to write a test for this. I saw some examples in `test/pretty`, but there are different ways to test... With or without `.pp` files, with a `pp-exact` comment, etc.
-
由 Jakub Bukaj 提交于
This breaks code like ``` let t = (42i, 42i); ... t.0::<int> ...; ``` Change this code to not contain an unused type parameter. For example: ``` let t = (42i, 42i); ... t.0 ...; ``` Closes https://github.com/rust-lang/rust/issues/19096 [breaking-change] r? @aturon
-
由 Jakub Bukaj 提交于
Now `std::hash::hash("abcd")` works.
-
由 Jakub Bukaj 提交于
Catch a missed triple-slash in the docs for `std::os::args()`. Passes `make check`. (I've also eyeballed the rest of `libstd` with the aid of some funky regexes and haven't found anything similar.)
-
由 Jakub Bukaj 提交于
The old name was sensible when this module was PriorityQueue but isn't anymore.
-
由 Jakub Bukaj 提交于
Primarily including the libnative removal
-
由 Jakub Bukaj 提交于
This is an initial API stabilization pass for `std::ascii`. Aside from some renaming to match conversion conventions, and deprecations in favor of using iterators directly, almost nothing is changed here. However, the static case conversion tables that were previously public are now private. The stabilization of the (rather large!) set of extension traits is left to a follow-up pass, because we hope to land some more general machinery that will provide the same functionality without custom traits. [breaking-change]
-
由 Jakub Bukaj 提交于
These functions allow you to see how many weak and strong references there are to an `Arc`, `Rc`, or an `rc::Weak`. Due to the design of `Arc` it is not possible to get the number of weak references of an arbitrary `arc::Weak`. Look in `arc.rs` for a more in-depth explanation. On `arc::Arc` and `arc::Weak` these operations are wait-free and atomic. This sort of information is useful for creating dynamically cleared caches for use in OS development, for example holding pages of files in memory until the address space is needed for something else.
-
由 Jakub Bukaj 提交于
This small piece of documentation was missed in the format character change in 4af3494b.
-
由 Jakub Bukaj 提交于
While poking at rust in lldb I found a few nits to clean up.
-
由 Jakub Bukaj 提交于
This is a collection of misc issues I've run into while adding bindir & libdir support that aren't really bindir & libdir specific. While I continue to fiddle with bindir and libdir bugs, I figured these might be useful for others to have merged.
-
- 23 11月, 2014 22 次提交
-
-
由 bors 提交于
It's useful to know this (opens up a bunch of other opportunities especially whilst parsing)
-
由 Jauhien Piatlicki 提交于
-
由 bors 提交于
The reason given didn't make any sense when I read it when reading through the docs. I think this is more clear. Please let me know it is also more correct.
-
由 Jelte Fennema 提交于
-
由 Adolfo Ochagavía 提交于
-
由 bors 提交于
Closes #14091. Closes #19195.
-
由 Adolfo Ochagavía 提交于
-
由 Adolfo Ochagavía 提交于
This breaks code like ``` let t = (42i, 42i); ... t.0::<int> ...; ``` Change this code to not contain an unused type parameter. For example: ``` let t = (42i, 42i); ... t.0 ...; ``` Closes https://github.com/rust-lang/rust/issues/19096 [breaking-change]
-
由 bors 提交于
This commit makes `Cow` more usable by allowing it to be applied to unsized types (as was intended) and providing some basic `ToOwned` implementations on slice types. It also corrects the documentation for `Cow` to no longer mention `DerefMut`, and adds an example. Closes #19123
-
由 bors 提交于
This merges the `trt_field_*`, `fn_field_*` and `slice_elt_*` constants into two `fat_ptr_*` constants. This resolves the first part of #18590.
-
由 bors 提交于
This commit is an implementation of [RFC 240][rfc] when applied to the standard library. It primarily deprecates the entirety of `string::raw`, `vec::raw`, `slice::raw`, and `str::raw` in favor of associated functions, methods, and other free functions. The detailed renaming is: * slice::raw::buf_as_slice => slice::from_raw_buf * slice::raw::mut_buf_as_slice => slice::from_raw_mut_buf * slice::shift_ptr => deprecated with no replacement * slice::pop_ptr => deprecated with no replacement * str::raw::from_utf8 => str::from_utf8_unchecked * str::raw::c_str_to_static_slice => str::from_c_str * str::raw::slice_bytes => deprecated for slice_unchecked (slight semantic diff) * str::raw::slice_unchecked => str.slice_unchecked * string::raw::from_parts => String::from_raw_parts * string::raw::from_buf_len => String::from_raw_buf_len * string::raw::from_buf => String::from_raw_buf * string::raw::from_utf8 => String::from_utf8_unchecked * vec::raw::from_buf => Vec::from_raw_buf All previous functions exist in their `#[deprecated]` form, and the deprecation messages indicate how to migrate to the newer variants. [rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0240-unsafe-api-location.md [breaking-change] Closes #17863
-
由 P1start 提交于
Fixes #19046.
-
由 P1start 提交于
-
由 P1start 提交于
-
由 Nicholas Bishop 提交于
-
由 bors 提交于
This should be a more general version of #19131.
-
由 Nick Cameron 提交于
-
由 Nick Cameron 提交于
-
由 bors 提交于
-
由 Jonathan Reem 提交于
transmute_copy is no longer needed and is just slow.
-
由 bors 提交于
An example of how type definitions work would be handy
-
由 Adolfo Ochagavía 提交于
-