Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcansahin authored May 4, 2022
1 parent a0ecbd5 commit 96ebe9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ site-icons https://github.com
```rust
use site_icons::Icons;

let icons = Icons::new();
let mut icons = Icons::new();
// scrape the icons from a url
icons.load_website("https://github.com").await?;

Expand All @@ -40,7 +40,7 @@ let entries = icons.entries().await;

// entries are sorted from highest to lowest resolution
for icon in entries {
println("{:?}", icon)
println!("{:?}", icon)
}
```

Expand Down

0 comments on commit 96ebe9d

Please sign in to comment.