From 6454ebecf06d1669ee1dd9d1a83b837d0c68bedf Mon Sep 17 00:00:00 2001 From: Victor Berger Date: Thu, 1 Jul 2021 23:27:48 +0200 Subject: [PATCH] wayland.dmabuf: review docs & API --- src/wayland/dmabuf/mod.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/wayland/dmabuf/mod.rs b/src/wayland/dmabuf/mod.rs index d032115..c472bda 100644 --- a/src/wayland/dmabuf/mod.rs +++ b/src/wayland/dmabuf/mod.rs @@ -13,7 +13,7 @@ //! //! The list of supported format is just a `Vec`, where you will enter all the (code, modifier) //! couples you support. You can typically receive a list of supported formats for one renderer by calling -//! [`crate::backend::renderer::ImportDma::dmabuf_formats`]. +//! [`ImportDma::dmabuf_formats`](crate::backend::renderer::ImportDma::dmabuf_formats). //! //! ``` //! # extern crate wayland_server; @@ -47,10 +47,9 @@ use std::{ rc::Rc, }; -pub use wayland_protocols::unstable::linux_dmabuf::v1::server::zwp_linux_buffer_params_v1::Flags; use wayland_protocols::unstable::linux_dmabuf::v1::server::{ zwp_linux_buffer_params_v1::{ - Error as ParamError, Request as ParamsRequest, ZwpLinuxBufferParamsV1 as BufferParams, + Error as ParamError, Request as ParamsRequest, ZwpLinuxBufferParamsV1 as BufferParams }, zwp_linux_dmabuf_v1, };