Skip to content

Commit 172da25

Browse files
committed
rename @from_str: to @verbatim:
1 parent c474ebb commit 172da25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/rust-analyzer/src/config.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ config_data! {
142142
// than `checkOnSave_target`
143143
cargo_target: Option<String> = None,
144144
/// Unsets the implicit `#[cfg(test)]` for the specified crates.
145-
cargo_unsetTest: Vec<String> = @from_str: r#"["core"]"#,
145+
cargo_unsetTest: Vec<String> = @verbatim: r#"["core"]"#,
146146

147147
/// Run the check command for diagnostics on save.
148148
checkOnSave | checkOnSave_enable: bool = true,
@@ -2303,7 +2303,7 @@ pub enum TargetDirectory {
23032303
}
23042304

23052305
macro_rules! _default_val {
2306-
(@from_str: $s:literal, $ty:ty) => {{
2306+
(@verbatim: $s:literal, $ty:ty) => {{
23072307
let default_: $ty = serde_json::from_str(&$s).unwrap();
23082308
default_
23092309
}};
@@ -2314,7 +2314,7 @@ macro_rules! _default_val {
23142314
}
23152315

23162316
macro_rules! _default_str {
2317-
(@from_str: $s:literal, $_ty:ty) => {
2317+
(@verbatim: $s:literal, $_ty:ty) => {
23182318
$s.to_string()
23192319
};
23202320
($default:expr, $ty:ty) => {{

0 commit comments

Comments
 (0)