Skip to main content

check_review_config

Function check_review_config 

Source
pub(super) fn check_review_config(
    view: &CourseView,
    exercise_id: Uuid,
    choice: Option<ReviewConfigChoice>,
    has_review_ops: bool,
) -> Result<(), ToolError>
Expand description

Refuses a review_config that doesn’t fit the exercise or the review ops.