From c125c90853de991d789c3ee7c08c409a4b42b69e Mon Sep 17 00:00:00 2001 From: Thane Thomson Date: Thu, 28 Oct 2021 22:58:15 +0000 Subject: [PATCH] Make Vec method reference absolute to fix #1014 Signed-off-by: Thane Thomson --- tools/proto-compiler/src/constants.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/proto-compiler/src/constants.rs b/tools/proto-compiler/src/constants.rs index 7d9c61421..6a0fa439c 100644 --- a/tools/proto-compiler/src/constants.rs +++ b/tools/proto-compiler/src/constants.rs @@ -21,7 +21,7 @@ const BASE64STRING: &str = r#"#[serde(with = "crate::serializers::bytes::base64s const VEC_BASE64STRING: &str = r#"#[serde(with = "crate::serializers::bytes::vec_base64string")]"#; const OPTIONAL: &str = r#"#[serde(with = "crate::serializers::optional")]"#; const VEC_SKIP_IF_EMPTY: &str = - r#"#[serde(skip_serializing_if = "Vec::is_empty", with = "serde_bytes")]"#; + r#"#[serde(skip_serializing_if = "::prost::alloc::vec::Vec::is_empty", with = "serde_bytes")]"#; const NULLABLEVECARRAY: &str = r#"#[serde(with = "crate::serializers::txs")]"#; const NULLABLE: &str = r#"#[serde(with = "crate::serializers::nullable")]"#; const ALIAS_POWER_QUOTED: &str =