Skip to content

Commit

Permalink
style: Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jun 4, 2024
1 parent 678a2af commit ddd6c47
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/comrak-app/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync + 'static>> {
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();
Expand Down
2 changes: 1 addition & 1 deletion examples/markdown-app/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync + 'static>> {
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();
Expand Down
2 changes: 1 addition & 1 deletion examples/minimad-app/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync + 'static>> {
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();
Expand Down
2 changes: 1 addition & 1 deletion examples/null-app/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync + 'static>> {
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();
Expand Down
2 changes: 1 addition & 1 deletion examples/pulldown-cmark-app/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync + 'static>> {
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();
Expand Down

0 comments on commit ddd6c47

Please sign in to comment.