Skip to content

Commit df7a42f

Browse files
committed
[Doc] Fix broken-intra-doc-link in pipeline for cip_t!
* Qualified `cip_t!` intra-doc-link with path. [`cip_t!`] -> [`crate::cip_t!`] * Qualified `ci_t!` intra-doc-link with path. [`ci_t!`] -> [`crate::ci_t!`] * Reference: https://doc.rust-lang.org/rustdoc/write-documentation/linking-to-items-by-name.html
1 parent c140b9b commit df7a42f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/context_api/call_in.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/****************************************************************
22
* *
3-
* Copyright (c) 2020-2021 YottaDB LLC and/or its subsidiaries. *
3+
* Copyright (c) 2020-2022 YottaDB LLC and/or its subsidiaries. *
44
* All rights reserved. *
55
* *
66
* This source code contains the intellectual property *
@@ -55,6 +55,7 @@ use super::Context;
5555
/// assert_eq!(&buf, b"entry called");
5656
/// ```
5757
/// [repr-c]: https://doc.rust-lang.org/nomicon/ffi.html#interoperability-with-foreign-code
58+
/// [`cip_t!`]: crate::cip_t!
5859
#[macro_export]
5960
macro_rules! ci_t {
6061
($tptoken: expr, $err_buffer: expr, $routine: expr $(, $args: expr)* $(,)?) => {{
@@ -108,6 +109,7 @@ macro_rules! ci_t {
108109
/// }
109110
/// assert_eq!(&buf, b"entry called");
110111
/// ```
112+
/// [`ci_t!`]: crate::ci_t!
111113
#[macro_export]
112114
macro_rules! cip_t {
113115
($tptoken: expr, $err_buffer: expr, $routine: expr, $($args: expr),* $(,)?) => {{
@@ -131,6 +133,8 @@ impl Context {
131133
/// - [C SimpleAPI documentation](https://docs.yottadb.com/MultiLangProgGuide/cprogram.html#ydb-ci-tab-open-ydb-ci-tab-open-t)
132134
/// - [Call-in interface](https://docs.yottadb.com/ProgrammersGuide/extrout.html#call-in-interface)
133135
/// - [`ci_t!`] and [`cip_t!`]
136+
/// [`cip_t!`]: crate::cip_t!
137+
/// [`ci_t!`]: crate::ci_t!
134138
///
135139
/// # Errors
136140

0 commit comments

Comments
 (0)