Skip to content

Commit

Permalink
fix: Fix doc_lazy_continuation clippy lint introduced in 1.80 (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
fl0rek authored Aug 8, 2024
1 parent 2ae6e01 commit 58beae0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/request/database/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ macro_rules! impl_database_request {
/// Release memory management of the callbacks to JS GC.
///
/// > Note: This may leak memory. Read more about it
/// [here](https://docs.rs/wasm-bindgen/latest/wasm_bindgen/closure/struct.Closure.html#method.into_js_value).
/// > [here](https://docs.rs/wasm-bindgen/latest/wasm_bindgen/closure/struct.Closure.html#method.into_js_value).
pub fn forget_callbacks(&mut self) {
self.inner.forget_callbacks()
}
Expand Down
2 changes: 1 addition & 1 deletion src/request/database/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl DatabaseRequest {
/// Release memory management of the callbacks to JS GC.
///
/// > Note: This may leak memory. Read more about it
/// [here](https://docs.rs/wasm-bindgen/latest/wasm_bindgen/closure/struct.Closure.html#method.into_js_value).
/// > [here](https://docs.rs/wasm-bindgen/latest/wasm_bindgen/closure/struct.Closure.html#method.into_js_value).
pub fn forget_callbacks(&mut self) {
let success_callback = self.success_callback.take();
let error_callback = self.error_callback.take();
Expand Down
2 changes: 1 addition & 1 deletion src/request/store/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ macro_rules! impl_store_request {
/// Release memory management of the callbacks to JS GC.
///
/// > Note: This may leak memory. Read more about it
/// [here](https://docs.rs/wasm-bindgen/latest/wasm_bindgen/closure/struct.Closure.html#method.into_js_value).
/// > [here](https://docs.rs/wasm-bindgen/latest/wasm_bindgen/closure/struct.Closure.html#method.into_js_value).
pub fn forget_callbacks(&mut self) {
self.inner.forget_callbacks();
}
Expand Down
2 changes: 1 addition & 1 deletion src/request/store/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl StoreRequest {
/// Release memory management of the callbacks to JS GC.
///
/// > Note: This may leak memory. Read more about it
/// [here](https://docs.rs/wasm-bindgen/latest/wasm_bindgen/closure/struct.Closure.html#method.into_js_value).
/// > [here](https://docs.rs/wasm-bindgen/latest/wasm_bindgen/closure/struct.Closure.html#method.into_js_value).
pub fn forget_callbacks(&mut self) {
let success_callback = self.success_callback.take();
let error_callback = self.error_callback.take();
Expand Down
2 changes: 1 addition & 1 deletion src/transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl Transaction {
/// Release memory management of the callbacks to JS GC.
///
/// > Note: This may leak memory. Read more about it
/// [here](https://docs.rs/wasm-bindgen/latest/wasm_bindgen/closure/struct.Closure.html#method.into_js_value).
/// > [here](https://docs.rs/wasm-bindgen/latest/wasm_bindgen/closure/struct.Closure.html#method.into_js_value).
pub fn forget_callbacks(&mut self) {
let abort_callback = self.abort_callback.take();
let complete_callback = self.complete_callback.take();
Expand Down

0 comments on commit 58beae0

Please sign in to comment.