Fix typo in tree_model.cc (#7539)

occurance -> occurrence
This commit is contained in:
Ikko Ashimine 2021-12-30 21:12:25 +09:00 committed by GitHub
parent a4a0ebb85d
commit 5516281881
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ class TreeGenerator {
}
return res;
}
/* \brief Find the first occurance of key in input and replace it with corresponding
/* \brief Find the first occurrence of key in input and replace it with corresponding
* value.
*/
static std::string Match(std::string const& input,