Skip to content

Commit a893bfe

Browse files
committed
Re-export CancelledHandlerId
This type is effectively public, because it’s returned by `Cancellable::connect_cancelled`, but because it’s not re-exported it can’t be named, making it awkward to e.g. save it in a struct field. Fixes GH-1649.
1 parent 83d3161 commit a893bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gio/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub use application::{ApplicationBusyGuard, ApplicationHoldGuard};
2020
mod async_initable;
2121
mod cancellable;
2222
mod cancellable_future;
23-
pub use crate::cancellable_future::{CancellableFuture, Cancelled};
23+
pub use crate::cancellable_future::{CancellableFuture, Cancelled, CancelledHandlerId};
2424
mod converter;
2525
mod credentials;
2626
mod data_input_stream;

0 commit comments

Comments
 (0)