Simplify CandidateGenerator::new().
This commit is contained in:
@@ -22,7 +22,7 @@ pub struct CandidateGenerator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl CandidateGenerator {
|
impl CandidateGenerator {
|
||||||
pub fn new() -> CandidateGenerator {
|
pub fn new() -> Self {
|
||||||
CandidateGenerator {
|
CandidateGenerator {
|
||||||
base: 0,
|
base: 0,
|
||||||
first_use: true,
|
first_use: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user