File tree Expand file tree Collapse file tree 3 files changed +4
-14
lines changed Expand file tree Collapse file tree 3 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ use std::{
20
20
ops:: { Deref , DerefMut } ,
21
21
} ;
22
22
23
- /// Key for [Array ].
23
+ /// Key for [ZArr ].
24
24
#[ derive( Debug , Clone , PartialEq , From ) ]
25
25
pub enum Key < ' a > {
26
26
Index ( u64 ) ,
@@ -29,7 +29,7 @@ pub enum Key<'a> {
29
29
ZStr ( & ' a ZStr ) ,
30
30
}
31
31
32
- /// Insert key for [Array ].
32
+ /// Insert key for [ZArr ].
33
33
#[ derive( Debug , Clone , PartialEq , From ) ]
34
34
pub enum InsertKey < ' a > {
35
35
NextIndex ,
@@ -337,7 +337,7 @@ pub enum IterKey<'a> {
337
337
ZStr ( & ' a ZStr ) ,
338
338
}
339
339
340
- /// Iter created by [Array ::iter].
340
+ /// Iter created by [ZArr ::iter].
341
341
pub struct Iter < ' a > {
342
342
index : isize ,
343
343
array : & ' a ZArr ,
Original file line number Diff line number Diff line change @@ -161,16 +161,6 @@ impl<T: Send> Classifiable for StatefulClass<T> {
161
161
}
162
162
163
163
/// Wrapper of [crate::sys::zend_class_entry].
164
- ///
165
- /// # Generic
166
- ///
167
- /// 1. Any `zend_class_entry` can be make into `ClassEntry<()>`, alias as
168
- /// [StatelessClassEntry].
169
- ///
170
- /// 2. Only the `zend_class_entry` created by
171
- /// [crate::modules::Module::add_class] can be make into `ClassEntry<T>`, where
172
- /// `T` is the type defined by [Classifiable::state_type_id], as the inner state
173
- /// of `ClassEntry<T>` and `Object<T>`.
174
164
#[ repr( transparent) ]
175
165
pub struct ClassEntry {
176
166
inner : zend_class_entry ,
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const ARGUMENT_COUNT_ERROR_CLASS: &str = if PHP_VERSION_ID >= 70100 {
23
23
} ;
24
24
25
25
/// PHP Throwable, can cause throwing an exception when setting to
26
- /// [crate::values::Val ].
26
+ /// [crate::values::ZVal ].
27
27
pub trait Throwable : error:: Error {
28
28
fn class_entry ( & self ) -> & ClassEntry ;
29
29
You can’t perform that action at this time.
0 commit comments