Skip to content

Commit

Permalink
Fix clippy::doc_lazy_continuation lints (#238)
Browse files Browse the repository at this point in the history
These are new in Rust 1.80
  • Loading branch information
waywardmonkeys authored Jul 23, 2024
1 parent ee77d3c commit 858ebe7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/bounding_volume/aabb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl Aabb {
/// # Arguments:
/// * `mins` - position of the point with the smallest coordinates.
/// * `maxs` - position of the point with the highest coordinates. Each component of `mins`
/// must be smaller than the related components of `maxs`.
/// must be smaller than the related components of `maxs`.
#[inline]
pub fn new(mins: Point<Real>, maxs: Point<Real>) -> Aabb {
Aabb { mins, maxs }
Expand Down
8 changes: 4 additions & 4 deletions src/query/gjk/gjk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ pub fn project_origin<G: ?Sized + SupportMap>(
/// * simplex - the simplex to be used by the GJK algorithm. It must be already initialized
/// with at least one point on the shape boundary.
/// * exact_dist - if `false`, the gjk will stop as soon as it can prove that the origin is at
/// a distance smaller than `max_dist` but not inside of `shape`. In that case, it returns a
/// `GJKResult::Proximity(sep_axis)` where `sep_axis` is a separating axis. If `false` the gjk will
/// compute the exact distance and return `GJKResult::Projection(point)` if the origin is closer
/// than `max_dist` but not inside `shape`.
/// a distance smaller than `max_dist` but not inside of `shape`. In that case, it returns a
/// `GJKResult::Proximity(sep_axis)` where `sep_axis` is a separating axis. If `false` the gjk will
/// compute the exact distance and return `GJKResult::Projection(point)` if the origin is closer
/// than `max_dist` but not inside `shape`.
pub fn closest_points<G1, G2>(
pos12: &Isometry<Real>,
g1: &G1,
Expand Down
1 change: 1 addition & 0 deletions src/shape/polyline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ impl Polyline {
/// `num_indices == self.indices.len()`.
/// - This polyline is oriented counter-clockwise.
/// - In 3D, the polyline is assumed to be fully coplanar, on a plane with normal given by
///
/// These properties are not checked.
pub fn project_local_point_assuming_solid_interior_ccw(
&self,
Expand Down

0 comments on commit 858ebe7

Please sign in to comment.