Skip to content

Commit eafd3b4

Browse files
fix type links in docs.rs (#179)
[ci skip]
1 parent b72d055 commit eafd3b4

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

src/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ impl<'a> Arg<'a> {
118118
/// return value of the function, or an error.
119119
///
120120
/// You should not call this function directly, rather through the
121-
/// [`call_user_func`] macro.
121+
/// [`call_user_func`](crate::call_user_func) macro.
122122
///
123123
/// # Parameters
124124
///

src/lib.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ pub use ext_php_rs_derive::php_const;
139139
/// ```
140140
///
141141
/// [`strpos`]: https://www.php.net/manual/en/function.strpos.php
142-
/// [`IntoZval`]: ext_php_rs::php::types::zval::IntoZval
143-
/// [`Zval`]: ext_php_rs::php::types::zval::Zval
142+
/// [`IntoZval`]: crate::convert::IntoZval
143+
/// [`Zval`]: crate::types::Zval
144144
pub use ext_php_rs_derive::php_extern;
145145

146146
/// Attribute used to annotate a function as a PHP function.
@@ -289,12 +289,12 @@ pub use ext_php_rs_derive::php_extern;
289289
///
290290
/// [`Result<T, E>`]: std::result::Result
291291
/// [`FunctionBuilder`]: crate::php::function::FunctionBuilder
292-
/// [`FromZval`]: crate::php::types::zval::FromZval
293-
/// [`IntoZval`]: crate::php::types::zval::IntoZval
294-
/// [`Zval`]: crate::php::types::zval::Zval
295-
/// [`Binary<T>`]: crate::php::types::binary::Binary
296-
/// [`ZendCallable`]: crate::php::types::callable::ZendCallable
297-
/// [`PhpException`]: crate::php::exceptions::PhpException
292+
/// [`FromZval`]: crate::convert::FromZval
293+
/// [`IntoZval`]: crate::convert::IntoZval
294+
/// [`Zval`]: crate::types::Zval.
295+
/// [`Binary<T>`]: crate::binary::Binary
296+
/// [`ZendCallable`]: crate::types::ZendCallable
297+
/// [`PhpException`]: crate::exception::PhpException
298298
pub use ext_php_rs_derive::php_function;
299299

300300
/// Annotates a structs `impl` block, declaring that all methods and constants
@@ -670,12 +670,12 @@ pub use ext_php_rs_derive::php_startup;
670670
/// var_dump(give_union()); // int(5)
671671
/// ```
672672
///
673-
/// [`FromZval`]: crate::php::types::zval::FromZval
674-
/// [`IntoZval`]: crate::php::types::zval::IntoZval
675-
/// [`FromZendObject`]: crate::php::types::object::FromZendObject
676-
/// [`IntoZendObject`]: crate::php::types::object::IntoZendObject
677-
/// [`Zval`]: crate::php::types::zval::Zval
678-
/// [`Zval::string`]: crate::php::types::zval::Zval::string
673+
/// [`FromZval`]: crate::convert::FromZval
674+
/// [`IntoZval`]: crate::convert::IntoZval
675+
/// [`FromZendObject`]: crate::convert::FromZendObject
676+
/// [`IntoZendObject`]: crate::convert::IntoZendObject
677+
/// [`Zval`]: crate::types::Zval.
678+
/// [`Zval::string`]: crate::types::Zval.::string
679679
pub use ext_php_rs_derive::ZvalConvert;
680680

681681
/// Defines an `extern` function with the Zend fastcall convention based on

0 commit comments

Comments
 (0)