File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ impl OpenDbListener {
5959 listener : Closure :: once ( move |evt : web_sys:: IdbVersionChangeEvent | {
6060 let res = Database :: from_event ( & evt) . and_then ( |db| {
6161 Transaction :: from_raw_version_change_event ( & db, & evt) . and_then ( |mut tx| {
62- callback ( VersionChangeEvent :: new ( evt) , & tx) . inspect ( |_ | {
62+ callback ( VersionChangeEvent :: new ( evt) , & tx) . inspect ( |( ) | {
6363 // If the callback succeeded, we want to ensure that
6464 // the transaction is committed when dropped and not
6565 // aborted.
@@ -181,7 +181,7 @@ const _: () = {
181181 let result = match Transaction :: from_raw_version_change_event ( & db, & evt) {
182182 Ok ( mut transaction) => {
183183 match callback ( VersionChangeEvent :: new ( evt) , & transaction) . await {
184- Ok ( _ ) => {
184+ Ok ( ( ) ) => {
185185 // If the callback succeeded, we want to ensure that
186186 // the transaction is committed when dropped and not
187187 // aborted.
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ pub enum KeyPath<T = String> {
2222
2323#[ generic_bounds( key_path( T ) ) ]
2424impl < T > KeyPath < T > {
25- /// Convert the key path to a JsValue.
25+ /// Convert the key path to a ` JsValue` .
2626 pub fn to_js ( & self ) -> JsValue {
2727 match self {
2828 Self :: One ( v) => JsValue :: from_str ( v. as_ref ( ) ) ,
You can’t perform that action at this time.
0 commit comments