dtolnay / unicode-ident

Determine whether characters have the XID_Start or XID_Continue properties
Apache License 2.0
76 stars 12 forks source link

Add example #23

Open kangalio opened 1 year ago

kangalio commented 1 year ago

Fixes #22

Should the example doctest adhere to the MSRV too? If so, I will replace the let-else.

Currently, README.md and the crate root docs are duplicated. Should I fix this via #[doc = include_str!("README.md")] in a separate PR? Gated behind docsrs cfg to comply with MSRV policy.