1From 6f300ba0a9bc047c08c1bc63bdb831d56479815b Mon Sep 17 00:00:00 2001 2From: Chris Wailes <chriswailes@google.com> 3Date: Fri, 10 Feb 2023 12:12:30 -0800 4Subject: [PATCH] Update crate source to work with Rust 1.66.1 5 6This CL changes the name of a lint in an annotation to allow rustdoc to 7successfully process the crate. 8 9Test: RUST_PREBUILT_VERSION="1.66.1" m rustdoc 10Bug: 263153841 11Change-Id: If213ca89d296bb06d3bdeadb18b2c5b31ff36a2a 12--- 13 src/untrusted.rs | 2 +- 14 1 file changed, 1 insertion(+), 1 deletion(-) 15 16diff --git a/src/untrusted.rs b/src/untrusted.rs 17index a9d7f7b..5071fdd 100644 18--- a/src/untrusted.rs 19+++ b/src/untrusted.rs 20@@ -102,7 +102,7 @@ 21 )] 22 // ANDROID: This lint is included in warnings and thus forbidden, but this version of the library 23 // is not compatible with it. 24-#![allow(non_autolinks)] 25+#![allow(rustdoc::bare_urls)] 26 #![no_std] 27 28 // ANDROID: Unconditionally use std to allow building as a dylib. 29-- 302.39.1.581.gbfd45094c4-goog 31 32