Skip to content

self.read_db()? instead of self.database.read_db()?; #16

Description

@bjeschke

In create_epic() and create_story() you wrote

let mut parsed = self.database.read_db()?;

but you implemented

pub fn read_db(&self) -> Result<DBState> {
    self.database.read_db()
}

above.

So why you not write:

let mut parsed = self.read_db()?;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions