mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-04 04:04:09 +00:00
13 lines
268 B
Rust
13 lines
268 B
Rust
use syn::ext::IdentExt;
|
|
use syn::parse::ParseStream;
|
|
use syn::{Ident, Token};
|
|
|
|
#[test]
|
|
fn test_peek() {
|
|
let _ = |input: ParseStream| {
|
|
let _ = input.peek(Ident);
|
|
let _ = input.peek(Ident::peek_any);
|
|
let _ = input.peek(Token![::]);
|
|
};
|
|
}
|