Fix clippy::new_without_default
This commit is contained in:
@@ -18,6 +18,12 @@ pub struct HoverResult {
|
||||
exact: bool,
|
||||
}
|
||||
|
||||
impl Default for HoverResult {
|
||||
fn default() -> Self {
|
||||
HoverResult::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl HoverResult {
|
||||
pub fn new() -> HoverResult {
|
||||
HoverResult {
|
||||
|
||||
Reference in New Issue
Block a user