Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use justifications directly in the informal spec #217

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dnkolegov
Copy link
Contributor

This PR slightly improves the spec in Rust.

@dnkolegov dnkolegov changed the title Use justifications directly fix: Use justifications directly Nov 21, 2024
@dnkolegov dnkolegov changed the title fix: Use justifications directly fix: Use justifications directly in the informal spec Nov 21, 2024
let new_view = NewView::new(self.get_justification(view));
let new_view = NewView::new(justification);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's wrong with just calling self.create_justification here? There's no need to pass it as an argument to start_new_view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants