Skip to content

Commit 1dd07ac

Browse files
committed
---
yaml --- r: 233574 b: refs/heads/beta c: 0c849de h: refs/heads/master v: v3
1 parent 33d1046 commit 1dd07ac

File tree

6 files changed

+20
-5
lines changed

6 files changed

+20
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: 8cb4d8671afecdcfd2432e08c8f43673ce51f67d
26+
refs/heads/beta: 0c849de1a2bad4b63b15b0155ecef8758f5211e5
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 370fe2786109360f7c35b8ba552b83b773dd71d6
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/src/liballoc/arc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
7272
use boxed::Box;
7373

74-
use core::atomic;
75-
use core::atomic::Ordering::{Relaxed, Release, Acquire, SeqCst};
74+
use core::sync::atomic;
75+
use core::sync::atomic::Ordering::{Relaxed, Release, Acquire, SeqCst};
7676
use core::fmt;
7777
use core::cmp::Ordering;
7878
use core::mem::{align_of_val, size_of_val};

branches/beta/src/libcore/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ pub mod convert;
142142

143143
pub mod any;
144144
pub mod array;
145-
pub mod atomic;
145+
pub mod sync;
146146
pub mod cell;
147147
pub mod char;
148148
pub mod panicking;

branches/beta/src/libcore/sync/mod.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
11+
//! Synchronization primitives
12+
13+
#![stable(feature = "rust1", since = "1.0.0")]
14+
15+
pub mod atomic;

branches/beta/src/libstd/sync/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#![stable(feature = "rust1", since = "1.0.0")]
1919

2020
pub use alloc::arc::{Arc, Weak};
21-
pub use core::atomic;
21+
pub use core::sync::atomic;
2222

2323
pub use self::barrier::{Barrier, BarrierWaitResult};
2424
pub use self::condvar::{Condvar, StaticCondvar, CONDVAR_INIT};

0 commit comments

Comments
 (0)