Skip to content

Commit

Permalink
fix: fix empty docs and add rust-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed May 16, 2024
1 parent 0abcc37 commit 3b58e8d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion crates/rs-macro/src/macro_inputs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ fn open_json_file(file_path: &str) -> Result<File> {
})
}

///
pub fn str_to_litstr(str_in: &str) -> LitStr {
LitStr::new(str_in, proc_macro::Span::call_site().into())
}
1 change: 0 additions & 1 deletion crates/rs-macro/src/macro_inputs_legacy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ fn open_json_file(file_path: &str) -> Result<File> {
})
}

///
pub fn str_to_litstr(str_in: &str) -> LitStr {
LitStr::new(str_in, proc_macro::Span::call_site().into())
}
2 changes: 2 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "1.76.0"

0 comments on commit 3b58e8d

Please sign in to comment.