rename some members; add documentation

This commit is contained in:
postscriptum 2026-03-23 09:05:05 +02:00
parent eeafed077a
commit 8586a5b036
3 changed files with 12 additions and 5 deletions

View file

@ -12,7 +12,7 @@ pub struct Total {
}
impl Total {
pub fn with_entries(entries: u64) -> Self {
pub fn with_rules(entries: u64) -> Self {
Self {
entries: entries.into(),
..Self::default()