From 3b312c86f6a8cde874274a303ce1b85a42111bed Mon Sep 17 00:00:00 2001
From: Hugo Trentesaux <hugo@trentesaux.fr>
Date: Tue, 24 Jan 2023 17:34:04 +0100
Subject: [PATCH] remote to_vec

---
 xtask/src/gen_calls_doc.rs | 1 -
 1 file changed, 1 deletion(-)

diff --git a/xtask/src/gen_calls_doc.rs b/xtask/src/gen_calls_doc.rs
index e1bd5e97d..d60bd2b6a 100644
--- a/xtask/src/gen_calls_doc.rs
+++ b/xtask/src/gen_calls_doc.rs
@@ -71,7 +71,6 @@ impl From<&scale_info::Variant<PortableForm>> for Call {
         Self {
             documentation: variant
                 .docs()
-                .to_vec()
                 .iter()
                 .take_while(|line| !line.starts_with("# <weight>"))
                 .cloned()
-- 
GitLab