Skip to content

Commit

Permalink
lint(markdown_to_docs): remove unnecessary reference
Browse files Browse the repository at this point in the history
  • Loading branch information
stackmystack committed Nov 21, 2024
1 parent 98b6f65 commit 1e5f8d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/markdown_to_docs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use regex::Regex;
pub fn include(input: TokenStream) -> TokenStream {
let input_str = input.to_string();

let ghf_markdown = std::fs::read_to_string(&input_str.trim_matches('"')).unwrap();
let ghf_markdown = std::fs::read_to_string(input_str.trim_matches('"')).unwrap();

let re = Regex::new(r"> \[!(CAUTION|IMPORTANT|NOTE|TIP|WARNING)\]").unwrap();
let transformed_content = re
Expand Down

0 comments on commit 1e5f8d1

Please sign in to comment.