Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement core ops for references + fix core module documentation #21227

Merged
merged 4 commits into from
Jan 21, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add stability text like suggested in discussion
  • Loading branch information
sellibitze committed Jan 20, 2015

Verified

This commit was signed with the committer’s verified signature.
crazy-max CrazyMax
commit 970fd747b9dffe6263e599bb0f2da63a59c0c51c
8 changes: 4 additions & 4 deletions src/libcore/ops.rs
Original file line number Diff line number Diff line change
@@ -108,7 +108,7 @@ pub trait Drop {
// based on "op T" where T is expected to be `Copy`able
macro_rules! forward_ref_unop {
(impl $imp:ident, $method:ident for $t:ty) => {
#[unstable]
#[unstable = "recently added, waiting for dust to settle"]
impl<'a> $imp for &'a $t {
type Output = <$t as $imp>::Output;

@@ -124,7 +124,7 @@ macro_rules! forward_ref_unop {
// based on "T op U" where T and U are expected to be `Copy`able
macro_rules! forward_ref_binop {
(impl $imp:ident, $method:ident for $t:ty, $u:ty) => {
#[unstable]
#[unstable = "recently added, waiting for dust to settle"]
impl<'a> $imp<$u> for &'a $t {
type Output = <$t as $imp<$u>>::Output;

@@ -134,7 +134,7 @@ macro_rules! forward_ref_binop {
}
}

#[unstable]
#[unstable = "recently added, waiting for dust to settle"]
impl<'a> $imp<&'a $u> for $t {
type Output = <$t as $imp<$u>>::Output;

@@ -144,7 +144,7 @@ macro_rules! forward_ref_binop {
}
}

#[unstable]
#[unstable = "recently added, waiting for dust to settle"]
impl<'a, 'b> $imp<&'a $u> for &'b $t {
type Output = <$t as $imp<$u>>::Output;