This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch cargo-doc-in-ci
in repository https://gitbox.apache.org/repos/asf/avro-rs.git


The following commit(s) were added to refs/heads/cargo-doc-in-ci by this push:
     new ac91a90  Fix rustdoc issues
ac91a90 is described below

commit ac91a9021cfc90295814ecf3003b52ed7512469a
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Fri Mar 6 09:48:44 2026 +0200

    Fix rustdoc issues
---
 avro/src/bytes.rs                | 4 ++--
 avro/src/schema_compatibility.rs | 2 +-
 avro/src/serde/ser_schema/mod.rs | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/avro/src/bytes.rs b/avro/src/bytes.rs
index 341b01d..c61f124 100644
--- a/avro/src/bytes.rs
+++ b/avro/src/bytes.rs
@@ -15,9 +15,9 @@
 // specific language governing permissions and limitations
 // under the License.
 
-//! Deprecated. Use [`apache_avro::serde::*`] instead.
+//! Deprecated. Use [`apache_avro::serde`] instead.
 //!
-//! [`apache_avro::serde::*`](crate::serde)
+//! [`apache_avro::serde`](crate::serde)
 
 #[cfg(doc)]
 use crate as apache_avro;
diff --git a/avro/src/schema_compatibility.rs b/avro/src/schema_compatibility.rs
index 8baafd3..354f6c3 100644
--- a/avro/src/schema_compatibility.rs
+++ b/avro/src/schema_compatibility.rs
@@ -170,7 +170,7 @@ impl Checker {
         hasher.finish()
     }
 
-    /// The actual implementation of [`full_match_schemas`] but without the 
recursion protection.
+    /// The actual implementation of "full_match_schemas()" but without the 
recursion protection.
     ///
     /// This function should never be called directly as it can recurse 
infinitely on recursive types.
     #[rustfmt::skip]
diff --git a/avro/src/serde/ser_schema/mod.rs b/avro/src/serde/ser_schema/mod.rs
index 070f562..fa9382f 100644
--- a/avro/src/serde/ser_schema/mod.rs
+++ b/avro/src/serde/ser_schema/mod.rs
@@ -430,8 +430,8 @@ impl<W: Write> ser::SerializeStruct for 
SchemaAwareWriteSerializeStruct<'_, '_,
 
 /// This implementation is used to support `#[serde(flatten)]` as that uses 
[`SerializeMap`] instead of [`SerializeStruct`].
 ///
-/// [`SerializeMap`](ser::SerializeMap)
-/// [`SerializeStruct`](ser::SerializeStruct)
+/// [`SerializeMap`]: ser::SerializeMap
+/// [`SerializeStruct`]: ser::SerializeStruct
 impl<W: Write> ser::SerializeMap for SchemaAwareWriteSerializeStruct<'_, '_, 
W> {
     type Ok = usize;
     type Error = Error;

Reply via email to