From 9fbd450446988ce2cc00eee54fb5542e9927e2f4 Mon Sep 17 00:00:00 2001 From: "T. Okubo" Date: Thu, 28 Jan 2016 20:15:26 +0900 Subject: [PATCH] Fix Readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0cc67ef..5105a16 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ git = "https://github.com/Orenantedose/vlc-rs.git" ``` ## Example -Play for 10 seconds from an media file. +Play for 10 seconds from a media file. ```Rust extern crate vlc; use vlc::{Instance, Media, MediaPlayer}; @@ -32,7 +32,7 @@ fn main() { mdp.play().unwrap(); // Wait for 10 seconds - thread::sleep_ms(10000); + thread::sleep(::std::time::Duration::from_secs(10)); } ```