From 036447c2c4e409fbee90d6ab7fba57b3c85ae04b Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Wed, 12 May 2021 16:49:36 +0200 Subject: [PATCH] fixed not compiling docs --- src/ytd.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ytd.rs b/src/ytd.rs index a95acf9..87542e1 100644 --- a/src/ytd.rs +++ b/src/ytd.rs @@ -21,13 +21,14 @@ use std::{path::Path, process::Command}; /// # Example /// /// ``` +/// use ytd_rs::ytd::Arg; /// // youtube-dl option to embed metadata into the file /// // doesn't take any input /// let simple_arg = Arg::new("--add-metadata"); /// /// // youtube-dl cookies argument that takes a path to /// // cookie file -/// let input_arg = Arg::new("--cookie", "/path/to/cookie"); +/// let input_arg = Arg::new_with_arg("--cookie", "/path/to/cookie"); /// ``` #[derive(Clone, Debug)] pub struct Arg {