From 32df0d4e76fb25094ba630626844837486358c43 Mon Sep 17 00:00:00 2001 From: Nikolay Chechulin Date: Mon, 3 Oct 2022 18:47:32 +0300 Subject: [PATCH] Replace documentation comment with "casual" one (#26) No more warnings --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0035fa6..aeaa438 100644 --- a/README.md +++ b/README.md @@ -47,14 +47,14 @@ use obws::Client; #[tokio::main] async fn main() -> Result<()> { - /// Connect to the OBS instance through obs-websocket. + // Connect to the OBS instance through obs-websocket. let client = Client::connect("localhost", 4455, Some("password")).await?; - /// Get and print out version information of OBS and obs-websocket. + // Get and print out version information of OBS and obs-websocket. let version = client.general().version().await?; println!("{:#?}", version); - /// Get a list of available scenes and print them out. + // Get a list of available scenes and print them out. let scene_list = client.scenes().list().await?; println!("{:#?}", scene_list);