From f49060fe4401648c61012b76a972fc9f94b772f1 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Sat, 27 May 2023 02:45:19 -0500 Subject: [PATCH] docs: Fix method name in docs --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 8294a65..65fe6c9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -31,7 +31,7 @@ pub trait ToMatrix: { } -/// Blanket implementation for ToMatrix for any type that satisfies its bounds +/// Blanket implementation for ToMatrix for any type that satisfies its bounds. impl ToMatrix for T where T: Mul + Add @@ -475,7 +475,7 @@ impl Sub for Matrix { } /// Trait for conversion between matrices of different types. -/// It only has a `convert_to()` method. +/// It only has a [`matrix_into()`](Self::matrix_into()) method. /// This is needed since negative trait bound are not supported in stable Rust /// yet, so we'll have a conflict trying to implement [`From`]. /// I plan to change this to the default From trait as soon as some sort