Skip to content

Commit

Permalink
Merge pull request #624 from hannobraun/warnings
Browse files Browse the repository at this point in the history
Fix warning; fail CI build, if any warnings are present
  • Loading branch information
hannobraun authored May 24, 2022
2 parents 5cfb2db + e97a14d commit 565f21a
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
uses: actions-rs/clippy-check@9d09632661e31982c0be8af59aeb96b680641bc4
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
args: --all-features -- -D warnings

export:
name: Validate 3MF Export
Expand Down
2 changes: 1 addition & 1 deletion crates/fj-export/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//!
//! [Fornjot]: https://www.fornjot.app/
#![deny(missing_docs)]
#![warn(missing_docs)]

use std::{fs::File, path::Path};

Expand Down
2 changes: 1 addition & 1 deletion crates/fj-host/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//!
//! [Fornjot]: https://www.fornjot.app/
#![deny(missing_docs)]
#![warn(missing_docs)]

mod platform;

Expand Down
2 changes: 1 addition & 1 deletion crates/fj-interop/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//!
//! [Fornjot]: https://www.fornjot.app/
#![deny(missing_docs)]
#![warn(missing_docs)]

pub mod debug;
pub mod mesh;
2 changes: 1 addition & 1 deletion crates/fj-kernel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
//!
//! [Fornjot]: https://www.fornjot.app/
#![deny(missing_docs)]
#![warn(missing_docs)]

pub mod algorithms;
pub mod geometry;
Expand Down
2 changes: 1 addition & 1 deletion crates/fj-math/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
//! [nalgebra]: https://nalgebra.org/
//! [Parry]: https://www.parry.rs/
#![deny(missing_docs)]
#![warn(missing_docs)]

mod aabb;
mod circle;
Expand Down
2 changes: 1 addition & 1 deletion crates/fj-operations/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//! [Fornjot]: https://www.fornjot.app/
//! [`fj`]: https://crates.io/crates/fj
#![deny(missing_docs)]
#![warn(missing_docs)]

pub mod shape_processor;

Expand Down
2 changes: 1 addition & 1 deletion crates/fj-operations/src/sweep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use fj_kernel::{
algorithms::{sweep_shape, Tolerance},
shape::Shape,
};
use fj_math::{Aabb, Point, Vector};
use fj_math::{Aabb, Vector};

use super::ToShape;

Expand Down
2 changes: 1 addition & 1 deletion crates/fj/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! [Fornjot]: https://www.fornjot.app/
//! [Fornjot repository]: https://github.com/hannobraun/Fornjot
#![deny(missing_docs)]
#![warn(missing_docs)]

pub mod syntax;

Expand Down

0 comments on commit 565f21a

Please sign in to comment.