Replace documentation comment with "casual" one (#26)

No more warnings
pull/28/head
Nikolay Chechulin 2 years ago committed by GitHub
parent 20206378e0
commit 32df0d4e76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);

Loading…
Cancel
Save