Skip to content

Commit

Permalink
Merge pull request #221 from feed-rs/fix-clone-from-warning
Browse files Browse the repository at this point in the history
Fix clone from warning
  • Loading branch information
markpritchard committed May 4, 2024
2 parents 9746f58 + 59a91f3 commit 6e0bf84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion feed-rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "feed-rs"
version = "1.4.0"
version = "1.5.0"
edition = '2021'
authors = ["Hiroki Kumamoto <kumabook@live.jp>", "Mark Pritchard <mpritcha@gmail.com>"]
include = [
Expand Down
2 changes: 1 addition & 1 deletion feed-rs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add the dependency to your `Cargo.toml`.

```toml
[dependencies]
feed-rs = "1.4.0"
feed-rs = "1.5.0"
```

## Reading
Expand Down
2 changes: 1 addition & 1 deletion feed-rs/src/parser/json/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fn accumulate_author(authors: &mut Vec<Person>, ja: &JsonAuthor) {
if let Some(name) = &ja.name {
if !authors.iter().any(|a| a.name.as_str() == name) {
let mut person = Person::new(name);
person.uri = ja.url.clone();
person.uri.clone_from(&ja.url);

authors.push(person);
}
Expand Down

0 comments on commit 6e0bf84

Please sign in to comment.