Skip to content

Commit 7ea5b3b

Browse files
committed
more fixes: these come from features
1 parent 49942b6 commit 7ea5b3b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

nalgebra-sparse/src/io/matrix_market.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ mod internal {
499499
fn from_i128(i: i128) -> Result<Self, MatrixMarketError>;
500500
/// When matrix is a Real matrix, it will convert a [f64] number to this type.
501501
fn from_f64(f: f64) -> Result<Self, MatrixMarketError>;
502-
/// When matrix is a Complex matrix, it will convert a [Complex<f64>] number to this type.
502+
/// When matrix is a Complex matrix, it will convert a [`Complex<f64>`] number to this type.
503503
fn from_c64(c: Complex<f64>) -> Result<Self, MatrixMarketError>;
504504
/// When matrix is a Pattern matrix, it will convert a unit type [unit] to this type.
505505
fn from_pattern(p: ()) -> Result<Self, MatrixMarketError>;

nalgebra-sparse/src/pattern/pattern_serde.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use serde::{de, Deserialize, Deserializer, Serialize, Serializer};
44
/// This is an intermediate type for (de)serializing `SparsityPattern`.
55
///
66
/// Deserialization requires using a `try_from_*` function for validation. We could have used
7-
/// the `remote = "Self"` trick (https://github.com/serde-rs/serde/issues/1220) which allows
7+
/// the `remote = "Self"` trick (<https://github.com/serde-rs/serde/issues/1220>) which allows
88
/// to directly serialize/deserialize the original fields and combine it with validation.
99
/// However, this would lead to nested serialization of the `CsMatrix` and `SparsityPattern`
1010
/// types. Instead, we decided that we want a more human-readable serialization format using

src/base/rkyv_wrappers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Wrapper that allows changing the generic type of a PhantomData<T>
1+
//! Wrapper that allows changing the generic type of a `PhantomData<T>`
22
//!
33
//! Copied from <https://github.com/rkyv/rkyv_contrib> (MIT-Apache2 licences) which isn’t published yet.
44

0 commit comments

Comments
 (0)