diff --git a/examples/comrak-app/app.rs b/examples/comrak-app/app.rs index af624af..0c0718f 100644 --- a/examples/comrak-app/app.rs +++ b/examples/comrak-app/app.rs @@ -4,7 +4,7 @@ fn main() -> Result<(), Box> { let mut args = std::env::args_os(); let _bin = args.next(); let path = args.next().expect("no markdown path given"); - let raw = std::fs::read_to_string(&path)?; + let raw = std::fs::read_to_string(path)?; #[cfg(debug_assertions)] { let stdout = std::io::stdout(); diff --git a/examples/markdown-app/app.rs b/examples/markdown-app/app.rs index f3742be..c4214d7 100644 --- a/examples/markdown-app/app.rs +++ b/examples/markdown-app/app.rs @@ -4,7 +4,7 @@ fn main() -> Result<(), Box> { let mut args = std::env::args_os(); let _bin = args.next(); let path = args.next().expect("no markdown path given"); - let raw = std::fs::read_to_string(&path)?; + let raw = std::fs::read_to_string(path)?; #[cfg(debug_assertions)] { let stdout = std::io::stdout(); diff --git a/examples/minimad-app/app.rs b/examples/minimad-app/app.rs index e51853b..b76cd4f 100644 --- a/examples/minimad-app/app.rs +++ b/examples/minimad-app/app.rs @@ -4,7 +4,7 @@ fn main() -> Result<(), Box> { let mut args = std::env::args_os(); let _bin = args.next(); let path = args.next().expect("no markdown path given"); - let raw = std::fs::read_to_string(&path)?; + let raw = std::fs::read_to_string(path)?; #[cfg(debug_assertions)] { let stdout = std::io::stdout(); diff --git a/examples/null-app/app.rs b/examples/null-app/app.rs index eca6e00..5411c00 100644 --- a/examples/null-app/app.rs +++ b/examples/null-app/app.rs @@ -4,7 +4,7 @@ fn main() -> Result<(), Box> { let mut args = std::env::args_os(); let _bin = args.next(); let path = args.next().expect("no markdown path given"); - let raw = std::fs::read_to_string(&path)?; + let raw = std::fs::read_to_string(path)?; #[cfg(debug_assertions)] { let stdout = std::io::stdout(); diff --git a/examples/pulldown-cmark-app/app.rs b/examples/pulldown-cmark-app/app.rs index 77b6693..e71aa75 100644 --- a/examples/pulldown-cmark-app/app.rs +++ b/examples/pulldown-cmark-app/app.rs @@ -4,7 +4,7 @@ fn main() -> Result<(), Box> { let mut args = std::env::args_os(); let _bin = args.next(); let path = args.next().expect("no markdown path given"); - let raw = std::fs::read_to_string(&path)?; + let raw = std::fs::read_to_string(path)?; #[cfg(debug_assertions)] { let stdout = std::io::stdout();