Skip to content

Commit

Permalink
chore: fix clippy issue
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Liu <sam@secondstate.io>
  • Loading branch information
apepkuss committed Sep 27, 2024
1 parent 46a83cb commit ac8590c
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 @@ -265,7 +265,7 @@ enum ContextType {
Full,
}
impl ContextType {
fn to_sd_context_type(&self) -> llama_core::SDContextType {
fn to_sd_context_type(self) -> llama_core::SDContextType {
match self {
ContextType::TextToImage => llama_core::SDContextType::TextToImage,
ContextType::ImageToText => llama_core::SDContextType::ImageToImage,
Expand Down

0 comments on commit ac8590c

Please sign in to comment.