Skip to content

Commit 72bc300

Browse files
authored
Merge pull request #1652 from Hawk777/export-cancelled-handler-id
Re-export CancelledHandlerId
2 parents 83d3161 + a0a10e9 commit 72bc300

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

gio/src/cancellable_future.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use std::{
99

1010
use pin_project_lite::pin_project;
1111

12-
use crate::{cancellable::CancelledHandlerId, prelude::*, Cancellable, IOErrorEnum};
12+
use crate::{prelude::*, Cancellable, CancelledHandlerId, IOErrorEnum};
1313

1414
// rustdoc-stripper-ignore-next
1515
/// Indicator that the [`CancellableFuture`] was cancelled.

gio/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ pub use action_entry::{ActionEntry, ActionEntryBuilder};
1919
pub use application::{ApplicationBusyGuard, ApplicationHoldGuard};
2020
mod async_initable;
2121
mod cancellable;
22+
pub use cancellable::CancelledHandlerId;
2223
mod cancellable_future;
2324
pub use crate::cancellable_future::{CancellableFuture, Cancelled};
2425
mod converter;

0 commit comments

Comments
 (0)