aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wailes <chriswailes@google.com>2023-02-10 12:12:30 -0800
committerChris Wailes <chriswailes@google.com>2023-02-10 12:25:58 -0800
commitb6a60db48458903531c1e4fa91ea8553e72bd535 (patch)
tree00fa591b3f665069a2d97cff640d6b033d096810 /src
parent735b5e357e178d91a5439586e3b40494989538c0 (diff)
downloaduntrusted-b6a60db48458903531c1e4fa91ea8553e72bd535.tar.gz
Update crate source to work with Rust 1.66.1
This CL changes the name of a lint in an annotation to allow rustdoc to successfully process the crate. Test: RUST_PREBUILT_VERSION="1.66.1" m rustdoc Bug: 263153841 Change-Id: If213ca89d296bb06d3bdeadb18b2c5b31ff36a2a
Diffstat (limited to 'src')
-rw-r--r--src/untrusted.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/untrusted.rs b/src/untrusted.rs
index a9d7f7b..5071fdd 100644
--- a/src/untrusted.rs
+++ b/src/untrusted.rs
@@ -102,7 +102,7 @@
)]
// ANDROID: This lint is included in warnings and thus forbidden, but this version of the library
// is not compatible with it.
-#![allow(non_autolinks)]
+#![allow(rustdoc::bare_urls)]
#![no_std]
// ANDROID: Unconditionally use std to allow building as a dylib.