|
8 | 8 | // NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. |
9 | 9 | // See the Mulan PSL v2 for more details. |
10 | 10 |
|
11 | | -//! Apis relate to [zend_class_entry](crate::sys::zend_class_entry). |
| 11 | +//! Apis relate to [zend_class_entry]. |
12 | 12 |
|
13 | 13 | use crate::{ |
14 | 14 | arrays::ZArr, |
@@ -48,7 +48,7 @@ pub fn array_access_class<'a>() -> &'a ClassEntry { |
48 | 48 | unsafe { ClassEntry::from_ptr(zend_ce_arrayaccess) } |
49 | 49 | } |
50 | 50 |
|
51 | | -/// Wrapper of [zend_class_entry](crate::sys::zend_class_entry). |
| 51 | +/// Wrapper of [zend_class_entry]. |
52 | 52 | #[repr(transparent)] |
53 | 53 | pub struct ClassEntry { |
54 | 54 | inner: zend_class_entry, |
@@ -206,7 +206,7 @@ fn find_global_class_entry_ptr(name: impl AsRef<str>) -> *mut zend_class_entry { |
206 | 206 | } |
207 | 207 |
|
208 | 208 | /// The [StaticStateClass] holds |
209 | | -/// [zend_class_entry](crate::sys::zend_class_entry) and inner state, always as |
| 209 | +/// [zend_class_entry] and inner state, always as |
210 | 210 | /// the static variable, and then be bind to [ClassEntity]. |
211 | 211 | /// |
212 | 212 | /// When the class registered (module initialized), the [StaticStateClass] will |
@@ -240,7 +240,7 @@ pub struct StaticStateClass<T> { |
240 | 240 |
|
241 | 241 | impl<T> StaticStateClass<T> { |
242 | 242 | /// Create empty [StaticStateClass], with null |
243 | | - /// [zend_class_entry](crate::sys::zend_class_entry). |
| 243 | + /// [zend_class_entry]. |
244 | 244 | pub const fn null() -> Self { |
245 | 245 | Self { |
246 | 246 | inner: AtomicPtr::new(null_mut()), |
@@ -284,7 +284,7 @@ impl<T> StaticStateClass<T> { |
284 | 284 | unsafe impl<T> Sync for StaticStateClass<T> {} |
285 | 285 |
|
286 | 286 | /// The [StaticInterface] holds |
287 | | -/// [zend_class_entry](crate::sys::zend_class_entry), always as the static |
| 287 | +/// [zend_class_entry], always as the static |
288 | 288 | /// variable, and then be bind to [InterfaceEntity]. |
289 | 289 | /// |
290 | 290 | /// When the interface registered (module initialized), the [StaticInterface] |
@@ -313,7 +313,7 @@ pub struct StaticInterface { |
313 | 313 |
|
314 | 314 | impl StaticInterface { |
315 | 315 | /// Create empty [StaticInterface], with null |
316 | | - /// [zend_class_entry](crate::sys::zend_class_entry). |
| 316 | + /// [zend_class_entry]. |
317 | 317 | pub const fn null() -> Self { |
318 | 318 | Self { |
319 | 319 | inner: AtomicPtr::new(null_mut()), |
|
0 commit comments