diff options
| author | bors <bors@rust-lang.org> | 2015-03-25 18:59:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-03-25 18:59:00 +0000 |
| commit | a3b13610c5b93d9ada072471a001a5613df6a960 (patch) | |
| tree | 567bafadca7bf94d18381dcfe73a9a2d84108501 /src | |
| parent | a923278c6278c63468d74772c58dbf788e88f58c (diff) | |
| parent | 5749a1f9dce5dd82b03434e47a9e9891b7d0fdf9 (diff) | |
| download | rust-a3b13610c5b93d9ada072471a001a5613df6a960.tar.gz rust-a3b13610c5b93d9ada072471a001a5613df6a960.zip | |
Auto merge of #23434 - alexcrichton:misc-stab, r=aturon
Now that we check the stability of fields, the fields of this struct should also be stable.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/ops.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs index fee40115f39..16d03901239 100644 --- a/src/libcore/ops.rs +++ b/src/libcore/ops.rs @@ -995,8 +995,10 @@ impl fmt::Debug for RangeFull { #[stable(feature = "rust1", since = "1.0.0")] pub struct Range<Idx> { /// The lower bound of the range (inclusive). + #[stable(feature = "rust1", since = "1.0.0")] pub start: Idx, /// The upper bound of the range (exclusive). + #[stable(feature = "rust1", since = "1.0.0")] pub end: Idx, } @@ -1013,11 +1015,10 @@ impl<Idx: fmt::Debug> fmt::Debug for Range<Idx> { #[stable(feature = "rust1", since = "1.0.0")] pub struct RangeFrom<Idx> { /// The lower bound of the range (inclusive). + #[stable(feature = "rust1", since = "1.0.0")] pub start: Idx, } - - #[stable(feature = "rust1", since = "1.0.0")] impl<Idx: fmt::Debug> fmt::Debug for RangeFrom<Idx> { fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { @@ -1031,6 +1032,7 @@ impl<Idx: fmt::Debug> fmt::Debug for RangeFrom<Idx> { #[stable(feature = "rust1", since = "1.0.0")] pub struct RangeTo<Idx> { /// The upper bound of the range (exclusive). + #[stable(feature = "rust1", since = "1.0.0")] pub end: Idx, } @@ -1041,7 +1043,6 @@ impl<Idx: fmt::Debug> fmt::Debug for RangeTo<Idx> { } } - /// The `Deref` trait is used to specify the functionality of dereferencing /// operations like `*v`. /// |
