Skip to content

Commit

Permalink
[#214] clippy: 불필요한 return 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
myyrakle committed Jan 2, 2025
1 parent 13d4168 commit fc1d38f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rupring/src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ impl UnwindSafe for Request {}

impl Request {
pub fn get_provider<T: 'static>(&self) -> Option<&T> {
return self.di_context.get::<T>();
self.di_context.get::<T>()
}
}

Expand Down
2 changes: 1 addition & 1 deletion rupring_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -969,5 +969,5 @@ pub fn derive_rupring_dto(item: TokenStream) -> TokenStream {

code += request_bind_code.as_str();

return TokenStream::from_str(code.as_str()).unwrap();
TokenStream::from_str(code.as_str()).unwrap()
}

0 comments on commit fc1d38f

Please sign in to comment.