Skip to content

Commit ab544c7

Browse files
authored
cxx-qt-lib: Fix some doc comment syntax errors (#1161)
* cxx-qt-lib: Change current_date() to use the correct doc comment syntax * cxx-qt-lib: Change to_be() to use the correct doc comment syntax
1 parent e84662a commit ab544c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ impl QDate {
154154
ffi::qdate_add_days(self, ndays)
155155
}
156156

157-
// Returns the current date, as reported by the system clock.
157+
/// Returns the current date, as reported by the system clock.
158158
pub fn current_date() -> Self {
159159
ffi::qdate_current_date()
160160
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ impl QUuid {
219219
}
220220

221221
/// Converts self to big endian from the target’s endianness.
222-
// This function is analogous to [`u8::to_be`](https://doc.rust-lang.org/src/core/num/uint_macros.rs.html#399-431).
222+
/// This function is analogous to [`u8::to_be`](https://doc.rust-lang.org/src/core/num/uint_macros.rs.html#399-431).
223223
///
224224
/// On big endian this is a no-op. On little endian the bytes are swapped.
225225
///

0 commit comments

Comments
 (0)