Skip to content

Commit

Permalink
modify readme example on path_to_url
Browse files Browse the repository at this point in the history
  • Loading branch information
nabbisen committed Jun 27, 2024
1 parent 5d32497 commit 4d26fb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "htmlproc"
version = "0.2.0"
version = "0.2.1"
edition = "2021"
authors = ["nabbisen <[email protected]>"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Convert paths to URLs.
#### Usage

```rust
use htmlproc::path_to_url::convert;
use htmlproc::path_to_url::{convert, ConvertOptions};

let result: String = convert("<a href=\"/some/path\">link</a>", ConvertOptions::new("target.domain"));
```

0 comments on commit 4d26fb6

Please sign in to comment.