Skip to content

Commit 66709dc

Browse files
Only deny doc_keyword in std and set it as "allow" by default
1 parent ea29d74 commit 66709dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

std/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@
212212
all(target_vendor = "fortanix", target_env = "sgx"),
213213
feature(slice_index_methods, coerce_unsized, sgx_platform)
214214
)]
215+
#![deny(rustc::existing_doc_keyword)]
215216
#![cfg_attr(all(test, target_vendor = "fortanix", target_env = "sgx"), feature(fixed_size_array))]
216217
// std is implemented with unstable features, many of which are internal
217218
// compiler details that will never be stable

0 commit comments

Comments
 (0)