Skip to content

Commit

Permalink
Fix new nightly lints
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyBF committed May 26, 2024
1 parent 8a2f743 commit 7019f67
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions ext/crates/fp/src/matrix/matrix_inner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ impl Matrix {
///
/// # Arguments
/// * `column_to_pivot_row` - A vector for the function to write the pivots into. The length
/// should be at least as long as the number of columns (and the extra entries are ignored).
/// should be at least as long as the number of columns (and the extra entries are ignored).
///
/// # Example
/// ```
Expand Down Expand Up @@ -800,8 +800,8 @@ impl Matrix {
///
/// # Arguments
/// * `first_empty_row` - The first row in the matrix that is empty. This is where we will add
/// our new rows. This is a mutable borrow and by the end of the function, `first_empty_row`
/// will be updated to the new first empty row.
/// our new rows. This is a mutable borrow and by the end of the function, `first_empty_row`
/// will be updated to the new first empty row.
/// * `current_pivots` - The current pivots of the matrix.
///
/// # Panics
Expand Down
4 changes: 2 additions & 2 deletions ext/crates/fp/src/matrix/quasi_inverse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ use crate::{
///
/// # Fields
/// * `image` - The image of the original matrix. If the image is omitted, it is assumed to be
/// everything (with the standard basis).
/// everything (with the standard basis).
/// * `preimage` - The actual quasi-inverse, where the basis of the image is that given by
/// `image`.
/// `image`.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct QuasiInverse {
image: Option<Vec<isize>>,
Expand Down
2 changes: 1 addition & 1 deletion ext/crates/fp/src/matrix/subspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use crate::{
///
/// # Fields
/// * `matrix` - A matrix in reduced row echelon, whose number of columns is the dimension of the
/// ambient space and each row is a basis vector of the subspace.
/// ambient space and each row is a basis vector of the subspace.
#[derive(Debug, Clone, PartialEq, Eq)]
#[repr(transparent)]
pub struct Subspace {
Expand Down
2 changes: 1 addition & 1 deletion web_ext/sseq_gui/src/managers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use crate::{actions::*, resolution_wrapper::Resolution, sseq::SseqWrapper, Sende
/// # Fields
/// * `sender` : A Sender object.
/// * `is_unit` : Whether this resolution is a resolution of the unit. This is useful for adding
/// products etc.
/// products etc.
/// * `resolution` : The resolution object itself.
pub struct ResolutionManager {
sender: Sender,
Expand Down
6 changes: 3 additions & 3 deletions web_ext/sseq_gui/src/sseq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub enum ClassState {

/// # Fields
/// * `matrices[x][y]` : This encodes the matrix of the product. If it is None, it means the
/// target of the product has dimension 0.
/// target of the product has dimension 0.
pub struct Product {
inner: sseq::Product,
/// whether the product was specified by the user or the module. Products specified by the module are assumed to be permanent
Expand All @@ -44,8 +44,8 @@ const EDGE_FLAG: u8 = 2;

/// Here are some blanket assumptions we make about the order in which we add things.
/// * If we add a class at (x, y), then all classes to the left and below of (x, y) have been
/// computed. Moreover, every class at (x + 1, y - r) for r >= 1 have been computed. If these have
/// not been set, the class is assumed to be zero.
/// computed. Moreover, every class at (x + 1, y - r) for r >= 1 have been computed. If these have
/// not been set, the class is assumed to be zero.
/// * The same is true for products, where the grading of a product is that of its source.
/// * Whenever a product v . x is set, the target is already set.
pub struct SseqWrapper<P: SseqProfile = Adams> {
Expand Down

0 comments on commit 7019f67

Please sign in to comment.