summaryrefslogtreecommitdiff
path: root/runtime/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/build.rs')
-rw-r--r--runtime/build.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/build.rs b/runtime/build.rs
index 412257f12..bd141d297 100644
--- a/runtime/build.rs
+++ b/runtime/build.rs
@@ -358,6 +358,7 @@ fn main() {
if env::var_os("DOCS_RS").is_some() {
let snapshot_slice = &[];
#[allow(clippy::needless_borrow)]
+ #[allow(clippy::disallowed_methods)]
std::fs::write(&runtime_snapshot_path, snapshot_slice).unwrap();
}