Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed Aug 12, 2023
1 parent e634daf commit 02bc188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ async fn show_feed(Query(params): Query<ShowFeed>, Host(host): Host) -> Result<R

fn escape_for_cdata(input: &str) -> String {
// There do not appear to be any decent standalone crates for this.
input.replace("&", "&amp;").replace("]]>", "")
input.replace('&', "&amp;").replace("]]>", "")
}

#[derive(Deserialize, Hash, Eq, PartialEq, Debug, Clone)]
Expand Down

0 comments on commit 02bc188

Please sign in to comment.