woboq / qmetaobject-rs

Integrate Qml and Rust by building the QMetaObject at compile time.
MIT License
620 stars 89 forks source link

Implement Add and AddAssign for QString #255

Closed Ayush1325 closed 2 years ago

Ayush1325 commented 2 years ago

Uses the QString &QString::append(const QString &str) internally.

Ayush1325 commented 2 years ago

QString &QString::append(const QString &str) appends to the current QString as well as returns a new QString. So is it fine the way it is right now or should I change the method to something like, void QString::append(const QString &str)?