Skip to content

Commit b08f3a8

Browse files
committed
---
yaml --- r: 232209 b: refs/heads/auto c: 78eee36 h: refs/heads/master i: 232207: f8db1cc v: v3
1 parent 24505e3 commit b08f3a8

File tree

7 files changed

+8
-140
lines changed

7 files changed

+8
-140
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
88
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
99
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1010
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11-
refs/heads/auto: 547fd5c11e6902e2f9748e7b46893211b36da421
11+
refs/heads/auto: 78eee36e5bb74f8e969d569a3a9372e47f9e5629
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/src/doc/complement-project-faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Existing languages at this level of abstraction and efficiency are unsatisfactor
2222

2323
# Is any part of this thing production-ready?
2424

25-
Yes!
25+
No. Feel free to play around, but don't expect completeness or stability yet. Expect incompleteness and breakage.
2626

2727
# Is this a completely Mozilla-planned and orchestrated thing?
2828

branches/auto/src/doc/trpl/error-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ let err2: Box<Error> = From::from(parse_err);
12231223

12241224
There is a really important pattern to recognize here. Both `err1` and `err2`
12251225
have the *same type*. This is because they are existentially quantified types,
1226-
or trait objects. In particular, their underlying type is *erased* from the
1226+
or trait objects. In particularly, their underlying type is *erased* from the
12271227
compiler's knowledge, so it truly sees `err1` and `err2` as exactly the same.
12281228
Additionally, we constructed `err1` and `err2` using precisely the same
12291229
function call: `From::from`. This is because `From::from` is overloaded on both

branches/auto/src/libcollections/vec.rs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ use alloc::heap::EMPTY;
6565
use core::cmp::Ordering;
6666
use core::fmt;
6767
use core::hash::{self, Hash};
68-
use core::intrinsics::{arith_offset, assume, drop_in_place, needs_drop};
68+
use core::intrinsics::{arith_offset, assume, drop_in_place};
6969
use core::iter::FromIterator;
7070
use core::mem;
7171
use core::ops::{Index, IndexMut, Deref};
@@ -1322,14 +1322,8 @@ impl<T> Drop for Vec<T> {
13221322
// OK because exactly when this stops being a valid assumption, we
13231323
// don't need unsafe_no_drop_flag shenanigans anymore.
13241324
if self.buf.unsafe_no_drop_flag_needs_drop() {
1325-
unsafe {
1326-
// The branch on needs_drop() is an -O1 performance optimization.
1327-
// Without the branch, dropping Vec<u8> takes linear time.
1328-
if needs_drop::<T>() {
1329-
for x in self.iter_mut() {
1330-
drop_in_place(x);
1331-
}
1332-
}
1325+
for x in self.iter_mut() {
1326+
unsafe { drop_in_place(x); }
13331327
}
13341328
}
13351329
// RawVec handles deallocation

branches/auto/src/libcore/ptr.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -385,13 +385,6 @@ fnptr_impls_args! { A, B }
385385
fnptr_impls_args! { A, B, C }
386386
fnptr_impls_args! { A, B, C, D }
387387
fnptr_impls_args! { A, B, C, D, E }
388-
fnptr_impls_args! { A, B, C, D, E, F }
389-
fnptr_impls_args! { A, B, C, D, E, F, G }
390-
fnptr_impls_args! { A, B, C, D, E, F, G, H }
391-
fnptr_impls_args! { A, B, C, D, E, F, G, H, I }
392-
fnptr_impls_args! { A, B, C, D, E, F, G, H, I, J }
393-
fnptr_impls_args! { A, B, C, D, E, F, G, H, I, J, K }
394-
fnptr_impls_args! { A, B, C, D, E, F, G, H, I, J, K, L }
395388

396389
// Comparison for pointers
397390
#[stable(feature = "rust1", since = "1.0.0")]

branches/auto/src/test/bench/shootout-fasta-redux.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
use std::cmp::min;
4242
use std::env;
4343
use std::io;
44+
use std::io::BufWriter;
4445
use std::io::prelude::*;
4546

4647
const LINE_LEN: usize = 60;
@@ -214,7 +215,7 @@ fn main() {
214215
};
215216

216217
let stdout = io::stdout();
217-
let mut out = stdout.lock();
218+
let mut out = BufWriter::new(stdout.lock());
218219

219220
out.write_all(b">ONE Homo sapiens alu\n").unwrap();
220221
{

branches/auto/src/test/run-pass/issue-28561.rs

Lines changed: 0 additions & 120 deletions
This file was deleted.

0 commit comments

Comments
 (0)