Skip to content

Commit 41e010c

Browse files
committed
Remove redundant stable and unstable attributes in primitives.rs
1 parent 14ab13f commit 41e010c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

library/core/src/ffi/primitives.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ macro_rules! type_alias {
1010
} => {
1111
#[doc = include_str!($Docfile)]
1212
$( $Cfg )*
13-
#[stable(feature = "core_ffi_c", since = "1.64.0")]
1413
pub type $Alias = $Real;
1514
}
1615
}
@@ -154,21 +153,18 @@ mod c_long_definition {
154153
///
155154
/// This type is currently always [`usize`], however in the future there may be
156155
/// platforms where this is not the case.
157-
#[unstable(feature = "c_size_t", issue = "88345")]
158156
pub type c_size_t = usize;
159157

160158
/// Equivalent to C's `ptrdiff_t` type, from `stddef.h` (or `cstddef` for C++).
161159
///
162160
/// This type is currently always [`isize`], however in the future there may be
163161
/// platforms where this is not the case.
164-
#[unstable(feature = "c_size_t", issue = "88345")]
165162
pub type c_ptrdiff_t = isize;
166163

167164
/// Equivalent to C's `ssize_t` (on POSIX) or `SSIZE_T` (on Windows) type.
168165
///
169166
/// This type is currently always [`isize`], however in the future there may be
170167
/// platforms where this is not the case.
171-
#[unstable(feature = "c_size_t", issue = "88345")]
172168
pub type c_ssize_t = isize;
173169

174170
mod c_int_definition {

0 commit comments

Comments
 (0)