Simplify CandidateGenerator::new().
This commit is contained in:
1 parent
9a7e303ed8
commit
e17ebf47c3
1 file changed
+1
-1
+1
-1
@@ -22,7 +22,7 @@ pub struct CandidateGenerator {
|
||||
}
|
||||
|
||||
impl CandidateGenerator {
|
||||
pub fn new() -> CandidateGenerator {
|
||||
pub fn new() -> Self {
|
||||
CandidateGenerator {
|
||||
base: 0,
|
||||
first_use: true,
|
||||
|
||||
Reference in new issue
Block a user