-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messagesgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy
Description
Calling
std::cell::RefCell<std::collections::HashMap<R, futures::future::Shared<std::pin::Pin<std::boxed::Box<dyn futures::Future<Output = ()>>>>>>::default()
is more clear than this expression
I don't agree
Calling
std::marker::PhantomData<(L, B)>::default()
is more clear than this expression
For PhantomData
I think I always prefer Default::default()
.
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messagesgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy