Skip to content

Commit 5cd706b

Browse files
committed
cxx-qt-lib: fix intra doc links
1 parent 6424294 commit 5cd706b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

crates/cxx-qt-lib/src/core/qtlogging.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mod ffi {
1717
include!("cxx-qt-lib/qtlogging.h");
1818

1919
/// Changes the output of the default message handler.
20-
/// Allows to tweak the output of [`q_debug!`], [`q_info!`], [`q_warning!`], [`q_critical!`], and [`q_fatal!`].
20+
/// Allows to tweak the output of [`q_debug!`](crate::q_debug!), [`q_info!`](crate::q_info!), [`q_warning!`](crate::q_warning!), [`q_critical!`](crate::q_critical!), and [`q_fatal!`](crate::q_fatal!).
2121
///
2222
/// See the [Qt documentation](https://doc.qt.io/qt/qtlogging.html#qSetMessagePattern) for pattern syntax.
2323
#[rust_name = "q_set_message_pattern"]
@@ -39,39 +39,39 @@ use std::ffi::CStr;
3939

4040
pub use ffi::q_set_message_pattern;
4141

42-
/// Backing function for the [`q_debug!`] macro. See the macro's documentation for more details.
42+
/// Backing function for the [`q_debug!`](crate::q_debug!) macro. See the macro's documentation for more details.
4343
pub fn q_debug(file: &CStr, line: i32, message: &QString) {
4444
// SAFETY: All strings are zero-terminated.
4545
unsafe {
4646
ffi::q_debug(file.as_ptr(), line, message);
4747
}
4848
}
4949

50-
/// Backing function for the [`q_info!`] macro. See the macro's documentation for more details.
50+
/// Backing function for the [`q_info!`](crate::q_info!) macro. See the macro's documentation for more details.
5151
pub fn q_info(file: &CStr, line: i32, message: &QString) {
5252
// SAFETY: All strings are zero-terminated.
5353
unsafe {
5454
ffi::q_info(file.as_ptr(), line, message);
5555
}
5656
}
5757

58-
/// Backing function for the [`q_warning!`] macro. See the macro's documentation for more details.
58+
/// Backing function for the [`q_warning!`](crate::q_warning!) macro. See the macro's documentation for more details.
5959
pub fn q_warning(file: &CStr, line: i32, message: &QString) {
6060
// SAFETY: All strings are zero-terminated.
6161
unsafe {
6262
ffi::q_warning(file.as_ptr(), line, message);
6363
}
6464
}
6565

66-
/// Backing function for the [`q_critical!`] macro. See the macro's documentation for more details.
66+
/// Backing function for the [`q_critical!`](crate::q_critical!) macro. See the macro's documentation for more details.
6767
pub fn q_critical(file: &CStr, line: i32, message: &QString) {
6868
// SAFETY: All strings are zero-terminated.
6969
unsafe {
7070
ffi::q_critical(file.as_ptr(), line, message);
7171
}
7272
}
7373

74-
/// Backing function for the [`q_fatal!`] macro. See the macro's documentation for more details.
74+
/// Backing function for the [`q_fatal!`](crate::q_fatal!) macro. See the macro's documentation for more details.
7575
pub fn q_fatal(file: &CStr, line: i32, message: &QString) {
7676
// SAFETY: All strings are zero-terminated.
7777
unsafe {

0 commit comments

Comments
 (0)