Skip to content

fix dependency for ch10 render hex thread pool #72

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

Conversation

SteveLauC
Copy link

add missing dependency :

  • std::thread
  • crossbeam::unbounded

refine code according to clippy's cue:

fn generate_svg(path_data: Vec<Command>) -> Document {
  ...
  Document::new()
    .set("viewBox", (0, 0, HEIGHT, WIDTH))
    .set("height", HEIGHT)
    .set("width", WIDTH)
    .set("style", "style=\"outline: 5px solid #800000;\"")
    .add(background)
    .add(sketch)
    .add(border)
}

@SteveLauC SteveLauC closed this Oct 11, 2022
@SteveLauC SteveLauC deleted the fix-dependency-for-ch10-render-hex-thread-pool branch October 11, 2022 00:30
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.

1 participant