Update readme
This commit is contained in:
@@ -67,7 +67,7 @@ rlibphonenumber = "0.1.0" # Replace with the actual version
|
|||||||
Here is a basic example of how to parse and format a phone number:
|
Here is a basic example of how to parse and format a phone number:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use rlibphonenumber::{enums::PhoneNumberFormat, PHONE_NUMBER_UTIL};
|
use rlibphonenumber::{PhoneNumberFormat, PHONE_NUMBER_UTIL};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let number_to_parse = "+14155552671";
|
let number_to_parse = "+14155552671";
|
||||||
|
|||||||
@@ -50,7 +50,3 @@ pub use generated::proto::phonenumber::phone_number::CountryCodeSource;
|
|||||||
pub use regexp_cache::InvalidRegexError;
|
pub use regexp_cache::InvalidRegexError;
|
||||||
mod tests;
|
mod tests;
|
||||||
|
|
||||||
#[cfg(test)]
|
|
||||||
mod test {
|
|
||||||
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user