Skip to content

Commit

Permalink
Better comment here
Browse files Browse the repository at this point in the history
  • Loading branch information
hydroper committed Apr 27, 2024
1 parent 39a03db commit 2e2b52d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/parser/diagnostics/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl Diagnostic {
/// The `diagarg![...]` literal is used for initializing
/// diagnostic arguments.
///
/// For example: `diagarg![token, "foo".into()]`.
/// For example: `diagarg![token, "foo".to_owned()]`.
pub macro diagarg {
($($value:expr),*) => { vec![ $(Rc::new($value)),* ] },
}
Expand Down

0 comments on commit 2e2b52d

Please sign in to comment.