diff --git a/gio/src/cancellable_future.rs b/gio/src/cancellable_future.rs index 1691ac4235ab..56ed941d712f 100644 --- a/gio/src/cancellable_future.rs +++ b/gio/src/cancellable_future.rs @@ -9,7 +9,7 @@ use std::{ use pin_project_lite::pin_project; -use crate::{cancellable::CancelledHandlerId, prelude::*, Cancellable, IOErrorEnum}; +use crate::{prelude::*, Cancellable, CancelledHandlerId, IOErrorEnum}; // rustdoc-stripper-ignore-next /// Indicator that the [`CancellableFuture`] was cancelled. diff --git a/gio/src/lib.rs b/gio/src/lib.rs index 02b25cdca0e2..fd0765fa4a77 100644 --- a/gio/src/lib.rs +++ b/gio/src/lib.rs @@ -19,6 +19,7 @@ pub use action_entry::{ActionEntry, ActionEntryBuilder}; pub use application::{ApplicationBusyGuard, ApplicationHoldGuard}; mod async_initable; mod cancellable; +pub use cancellable::CancelledHandlerId; mod cancellable_future; pub use crate::cancellable_future::{CancellableFuture, Cancelled}; mod converter;