| Age | Commit message (Collapse) | Author | Lines |
|
the old code was *so terrible*.
|
|
Didn't build/test the change, but if that one-character fix isn't correct, I'll eat my hat. :-) Found this reading the book over the last week or two since Mozlando -- much enjoying the book so far.
|
|
`auto_ref()` currently returns an Rvalue datum for the ref'd value,
which is fine for thin pointers, but for fat pointers this means that
once the pointer is moved out of that datum, its memory will be marked
as dead. And because there is not necessarily an intermediate temporary
involved we can end up marking memory as dead that is actually still
used.
As I don't want to break the micro-optimization for thin pointers by
always returning an Lvalue datum, I decided to only do so for fat
pointers.
Fix #30478
|
|
|
|
Small typo. vectors -> vector.
|
|
Thanks @arielb1!
r? @luqmana
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Or more specifically, after running early lints.
Closes #28142
|
|
|
|
Use proper URLs as given by Github.
So far we relied on redirect by Github which is not guaranteed to work.
|
|
|
|
* If the requested descriptors to inherit are stdio descriptors there
are situations where they will not be set correctly
* Example: parent's stdout --> child's stderr
parent's stderr --> child's stdout
* Solution: if the requested descriptors for the child are stdio
descriptors, `dup` them before overwriting the child's stdio
|
|
- Successful merges: #30485, #30490, #30513, #30518, #30528, #30545, #30551, #30552
- Failed merges:
|
|
Trivial, but my eye is twitching.
|
|
Fixes https://github.com/rust-lang/rust/issues/30514
i also went ahead and removed the redundant `ItemKind`s.
r? @nikomatsakis (this is an easy one I guess)
|
|
book: Some operator fixes for the syntax index
- Correct the names of the comparison traits (PartialOrd)
- Mention only the traits that overload the operator (PartialOrd,
PartialEq), not operator-unrelated traits (Ord, Eq).
- Add `!=` operator.
|
|
Avoid duplicating the last element of the def path which led to paths like "std::slice::into_vec::into_vec".
cc @rust-lang/compiler
|
|
as the buildbot has timeouted when building snap3 branch, I regenerate one locally.
here the diff that registers the OpenBSD snapshot.
the archive is available at http://semarie.online.fr/rust/rust-stage0-2015-12-18-3391630-openbsd-x86_64-6c8aab2c8a169274942f9a15e460069a3ff64be9.tar.bz2
sha256 : de3c26a93cf9512922cc012f9b57bd08d7b64f7e0469a9bb032fa9c07260cf0c
@alexcrichton does it is the good method for providing a snapshot ?
|
|
Types like `&AssertRecoverSafe<T>` and `Rc<AssertRecoverSafe<T>>` were
mistakenly not considered recover safe, but the point of the assertion wrapper
is that it indeed is! This was caused by an interaction between the
`RecoverSafe` and `NoUnsafeCell` marker traits, and this is updated by adding an
impl of the `NoUnsafeCell` marker trait for `AssertRecoverSafe` to ensure that
it never interacts with the other negative impls of `RecoverSafe`.
cc #30510
|
|
r? @alexcrichton
|
|
- Successful merges: #30251, #30461, #30465, #30473, #30529, #30537, #30539, #30541, #30543
- Failed merges:
|
|
|
|
|
|
Trivial, but my eye is twitching.
|
|
|
|
|
|
|
|
There's no need for us to redeclare it in an extern block.
|
|
|
|
- Correct the names of the comparison traits (PartialOrd)
- Mention only the traits that overload the operator (PartialOrd,
PartialEq), not operator-unrelated traits (Ord, Eq).
- Add `!=` operator.
|
|
The website will [shortly](https://github.com/rust-lang/rust-www/pull/241) provide the main documentation landing page as well as the [FAQ](https://github.com/rust-lang/rust-www/issues/202). All of the content here will be there.
This strips out everything and makes the index *just* an index into the in-tree content. My only real qualm with this is that this will become the content on doc.rust-lang.org (a sweet URL), while the main documentation page will be www.rust-lang.org/documentation.html.
r? @steveklabnik
|
|
Country-code top level domain names are tied to a specific country (for example .de for Germany).
r? @steveklabnik
|
|
|
|
|
|
The corresopnding C file was removed in #30175 and looks like I forgot to remove
the header as well.
|
|
Clarify the difference between compiler-panic and libcore-panic.
|
|
The `dynamic_lib` library has been deprecated in favor of contents on crates.io, but apparently `libloading` is a more specific direction that fits the need.
|
|
|
|
On some weird setup where $SHELL is a relative path (can happen under GNU
Screen,) `file -L "$BIN_TO_PROBE"` fails and $CFG_CPUTYPE is wrongly set to
i686. We should not only check its string value but also permission on
filesystem.
|
|
The main documentation page is now www.rust-lang.org/documentation.html
|
|
|
|
|
|
|
|
|