@@ -83,11 +83,10 @@ pub fn q_fatal(file: &CStr, line: i32, message: &QString) {
83
83
///
84
84
/// # Examples
85
85
///
86
- /// ```
86
+ /// ```rust,ignore
87
87
/// use cxx_qt_lib::q_debug;
88
88
///
89
89
/// fn somefunc(x: i32, y: i32) {
90
- /// # cxx_qt::init_crate!(cxx_qt_lib);
91
90
/// q_debug!("x: {x}, y: {y}");
92
91
/// q_debug!("x: {}, y: {}", x, y);
93
92
/// }
@@ -105,11 +104,10 @@ macro_rules! q_debug {
105
104
///
106
105
/// # Examples
107
106
///
108
- /// ```
107
+ /// ```rust,ignore
109
108
/// use cxx_qt_lib::q_info;
110
109
///
111
110
/// fn somefunc(x: i32, y: i32) {
112
- /// # cxx_qt::init_crate!(cxx_qt_lib);
113
111
/// q_info!("x: {x}, y: {y}");
114
112
/// q_info!("x: {}, y: {}", x, y);
115
113
/// }
@@ -129,11 +127,10 @@ macro_rules! q_info {
129
127
///
130
128
/// # Examples
131
129
///
132
- /// ```
130
+ /// ```rust,ignore
133
131
/// use cxx_qt_lib::q_warning;
134
132
///
135
133
/// fn somefunc(x: i32, y: i32) {
136
- /// # cxx_qt::init_crate!(cxx_qt_lib);
137
134
/// q_warning!("x: {x}, y: {y}");
138
135
/// q_warning!("x: {}, y: {}", x, y);
139
136
/// }
@@ -153,11 +150,10 @@ macro_rules! q_warning {
153
150
///
154
151
/// # Examples
155
152
///
156
- /// ```
153
+ /// ```rust,ignore
157
154
/// use cxx_qt_lib::q_critical;
158
155
///
159
156
/// fn somefunc(x: i32, y: i32) {
160
- /// # cxx_qt::init_crate!(cxx_qt_lib);
161
157
/// q_critical!("x: {x}, y: {y}");
162
158
/// q_critical!("x: {}, y: {}", x, y);
163
159
/// }
@@ -178,11 +174,10 @@ macro_rules! q_critical {
178
174
///
179
175
/// # Examples
180
176
///
181
- /// ```
177
+ /// ```rust,ignore
182
178
/// use cxx_qt_lib::q_fatal;
183
179
///
184
180
/// fn somefunc(x: i32, y: i32) {
185
- /// # cxx_qt::init_crate!(cxx_qt_lib);
186
181
/// q_fatal!("x: {x}, y: {y}");
187
182
/// q_fatal!("x: {}, y: {}", x, y);
188
183
/// }
0 commit comments