Skip to content

Commit f4e2fea

Browse files
committed
cargo fmt
1 parent 3cd2f94 commit f4e2fea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/use_geolocation.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ pub fn use_geolocation_with_options(
102102
let on_error =
103103
Closure::wrap(Box::new(on_error) as Box<dyn Fn(web_sys::PositionError)>);
104104

105-
*watch_handle.lock().unwrap() = Some(geolocation
106-
.watch_position_with_error_callback_and_options(
105+
*watch_handle.lock().unwrap() =
106+
Some(geolocation.watch_position_with_error_callback_and_options(
107107
update_position.as_ref().unchecked_ref(),
108108
Some(on_error.as_ref().unchecked_ref()),
109109
&position_options,

0 commit comments

Comments
 (0)