Skip to content

Commit

Permalink
Update None-delimited group notation to use «∅ ∅»
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Apr 17, 2024
1 parent 54a1643 commit 1431bd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_parse_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fn trailing_empty_none_group() {
Ok(())
}

// `+ ( + <∅ ∅> ) <∅ <∅ ∅> ∅>`
// `+ ( + «∅ ∅» ) «∅ «∅ ∅» ∅»`
let tokens = TokenStream::from_iter([
TokenTree::Punct(Punct::new('+', Spacing::Alone)),
TokenTree::Group(Group::new(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_stmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fn test_raw_invalid() {

#[test]
fn test_none_group() {
// <∅ async fn f() {} ∅>
// «∅ async fn f() {} ∅»
let tokens = TokenStream::from_iter([TokenTree::Group(Group::new(
Delimiter::None,
TokenStream::from_iter([
Expand Down

0 comments on commit 1431bd6

Please sign in to comment.