From 4518adb350f6d5d14ba0c19cbfc1035c0009ba5b Mon Sep 17 00:00:00 2001 From: minghuaw Date: Wed, 2 Oct 2024 19:54:15 -0700 Subject: [PATCH] Fix error in documentation (#291) * fix doc error * updated changelog and bumped version --- fe2o3-amqp/Cargo.toml | 2 +- fe2o3-amqp/Changelog.md | 4 ++++ fe2o3-amqp/src/link/receiver.rs | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/fe2o3-amqp/Cargo.toml b/fe2o3-amqp/Cargo.toml index c1b780df..f33a5afe 100644 --- a/fe2o3-amqp/Cargo.toml +++ b/fe2o3-amqp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fe2o3-amqp" -version = "0.13.0" +version = "0.13.1" edition = "2021" description = "An implementation of AMQP1.0 protocol based on serde and tokio" license = "MIT/Apache-2.0" diff --git a/fe2o3-amqp/Changelog.md b/fe2o3-amqp/Changelog.md index 67a80ad4..ad6d8865 100644 --- a/fe2o3-amqp/Changelog.md +++ b/fe2o3-amqp/Changelog.md @@ -1,5 +1,9 @@ # Change Log +## 0.13.1 + +1. Fixed documentation error + ## 0.13.0 1. Added support for using `LazyValue` as message body diff --git a/fe2o3-amqp/src/link/receiver.rs b/fe2o3-amqp/src/link/receiver.rs index 70709898..704b99f7 100644 --- a/fe2o3-amqp/src/link/receiver.rs +++ b/fe2o3-amqp/src/link/receiver.rs @@ -42,9 +42,9 @@ cfg_transaction! { } #[cfg(docsrs)] -use fe2o3_amqp_types::messaging::{ +use fe2o3_amqp_types::{ + messaging::{AmqpSequence, AmqpValue, Batch, Body}, primitives::{LazyValue, Value}, - AmqpSequence, AmqpValue, Batch, Body, }; /// Credit mode for the link