Skip to content

Commit dae1a51

Browse files
committed
Work around rustdoc bug with impls on type aliases
rust-lang/rust#44182
1 parent 52c013b commit dae1a51

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gstreamer/src/event.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ impl EventRef {
133133
}
134134
}
135135

136-
impl Event {
136+
impl GstRc<EventRef> {
137137
pub fn new_flush_start() -> FlushStartBuilder {
138138
assert_initialized_main_thread!();
139139
FlushStartBuilder::new()

gstreamer/src/message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ impl MessageRef {
127127
}
128128
}
129129

130-
impl Message {
130+
impl GstRc<MessageRef> {
131131
pub fn new_eos() -> EosBuilder {
132132
assert_initialized_main_thread!();
133133
EosBuilder::new()

gstreamer/src/query.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ unsafe impl MiniObject for QueryRef {
2727
type GstType = ffi::GstQuery;
2828
}
2929

30-
impl Query {
30+
impl GstRc<QueryRef> {
3131
pub fn new_position(fmt: ::Format) -> Self {
3232
assert_initialized_main_thread!();
3333
unsafe { from_glib_full(ffi::gst_query_new_position(fmt.to_glib())) }

0 commit comments

Comments
 (0)