Skip to content

Commit

Permalink
chore: fix some clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
raklaptudirm committed May 25, 2024
1 parent 104d8f9 commit e380778
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uai/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,12 @@ impl<T: Send> Client<T> {
}

pub fn engine(mut self, name: &str) -> Self {
self.initial_context.engine = name.to_owned();
name.clone_into(&mut self.initial_context.engine);
self
}

pub fn author(mut self, name: &str) -> Self {
self.initial_context.author = name.to_owned();
name.clone_into(&mut self.initial_context.author);
self
}
}

0 comments on commit e380778

Please sign in to comment.