Work around rustdoc bug with impls on type aliases

https://github.com/rust-lang/rust/issues/44182
This commit is contained in:
Sebastian Dröge 2017-08-30 15:12:11 +03:00
parent 52c013b834
commit dae1a51764
3 changed files with 3 additions and 3 deletions

View file

@ -133,7 +133,7 @@ impl EventRef {
}
}
impl Event {
impl GstRc<EventRef> {
pub fn new_flush_start() -> FlushStartBuilder {
assert_initialized_main_thread!();
FlushStartBuilder::new()

View file

@ -127,7 +127,7 @@ impl MessageRef {
}
}
impl Message {
impl GstRc<MessageRef> {
pub fn new_eos() -> EosBuilder {
assert_initialized_main_thread!();
EosBuilder::new()

View file

@ -27,7 +27,7 @@ unsafe impl MiniObject for QueryRef {
type GstType = ffi::GstQuery;
}
impl Query {
impl GstRc<QueryRef> {
pub fn new_position(fmt: ::Format) -> Self {
assert_initialized_main_thread!();
unsafe { from_glib_full(ffi::gst_query_new_position(fmt.to_glib())) }