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::{
2020 ops:: { Deref , DerefMut } ,
2121} ;
2222
23- /// Key for [Array ].
23+ /// Key for [ZArr ].
2424#[ derive( Debug , Clone , PartialEq , From ) ]
2525pub enum Key < ' a > {
2626 Index ( u64 ) ,
@@ -29,7 +29,7 @@ pub enum Key<'a> {
2929 ZStr ( & ' a ZStr ) ,
3030}
3131
32- /// Insert key for [Array ].
32+ /// Insert key for [ZArr ].
3333#[ derive( Debug , Clone , PartialEq , From ) ]
3434pub enum InsertKey < ' a > {
3535 NextIndex ,
@@ -337,7 +337,7 @@ pub enum IterKey<'a> {
337337 ZStr ( & ' a ZStr ) ,
338338}
339339
340- /// Iter created by [Array ::iter].
340+ /// Iter created by [ZArr ::iter].
341341pub struct Iter < ' a > {
342342 index : isize ,
343343 array : & ' a ZArr ,
Original file line number Diff line number Diff line change @@ -161,16 +161,6 @@ impl<T: Send> Classifiable for StatefulClass<T> {
161161}
162162
163163/// 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>`.
174164#[ repr( transparent) ]
175165pub struct ClassEntry {
176166 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 {
2323} ;
2424
2525/// PHP Throwable, can cause throwing an exception when setting to
26- /// [crate::values::Val ].
26+ /// [crate::values::ZVal ].
2727pub trait Throwable : error:: Error {
2828 fn class_entry ( & self ) -> & ClassEntry ;
2929
You can’t perform that action at this time.
0 commit comments