Skip to content

Commit 791f4b9

Browse files
author
Mikhail Zolotukhin
committed
chore(qmetaobject): apply rustfmt
1 parent 7f8c6d6 commit 791f4b9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

qmetaobject/src/qtdeclarative.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -506,11 +506,7 @@ pub fn qml_register_type<T: QObject + Default + Sized>(
506506
///
507507
/// [qt]: https://doc.qt.io/qt-5/qqmlengine.html#qmlRegisterModule
508508
#[cfg(qt_5_9)]
509-
pub fn qml_register_module(
510-
uri: &CStr,
511-
version_major: u32,
512-
version_minor: u32,
513-
) {
509+
pub fn qml_register_module(uri: &CStr, version_major: u32, version_minor: u32) {
514510
let uri_ptr = uri.as_ptr();
515511

516512
cpp!(unsafe [

0 commit comments

Comments
 (0)