From 64ec364259bd902e434863521efff506db1a26b5 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Tue, 21 Sep 2021 09:58:07 +0200 Subject: [PATCH] examples/player: set_uri now allows None to be passed in --- examples/src/bin/player.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/src/bin/player.rs b/examples/src/bin/player.rs index a75bb76c4..fce0da2ea 100644 --- a/examples/src/bin/player.rs +++ b/examples/src/bin/player.rs @@ -28,7 +28,7 @@ fn main_loop(uri: &str) -> Result<(), Error> { ); // Tell the player what uri to play. - player.set_uri(uri); + player.set_uri(Some(uri)); let error = Arc::new(Mutex::new(Ok(())));