From 126fc118ade0d0ba792806d368683a5f7016c833 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Fri, 17 Jan 2025 11:31:02 +0400 Subject: [PATCH] qemu-display: fix README/doctest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau --- qemu-display/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qemu-display/README.md b/qemu-display/README.md index 80a60cd..525d1b6 100644 --- a/qemu-display/README.md +++ b/qemu-display/README.md @@ -25,13 +25,13 @@ qemu-display = "0.1.0" Here's a simple example of how to use the library: -```rust +```rust,no_run +# use std::error::Error; use qemu_display::Display; -use zbus::Connection; #[async_std::main] async fn main() -> Result<(), Box> { - let conn = Connection::session().await?; + let conn = zbus::Connection::session().await?; let display = Display::new::<()>(&conn, None).await?; // TODO: complete this example Ok(())