examples: clippy
This commit is contained in:
1 parent
4954079212
commit
901bd5b0cd
3 files changed
+4
-4
No files matched your search
@@ -42,7 +42,7 @@ struct C1Props<'a> {
|
||||
}
|
||||
|
||||
fn Child1<'a>(cx: Scope<'a, C1Props<'a>>) -> Element {
|
||||
let (left, right) = cx.props.text.split_once("=").unwrap();
|
||||
let (left, right) = cx.props.text.split_once('=').unwrap();
|
||||
|
||||
cx.render(rsx! {
|
||||
div {
|
||||
|
||||
Reference in new issue
Block a user