Fix how we set rustdocflags in the cargo config

This commit is contained in:
Maybe Waffle 2022-10-03 04:01:23 +04:00
parent 5921b15db3
commit 5fc3d2b81d

View file

@ -9,5 +9,6 @@ docs = """doc
--features=tokio/macros --features=tokio/rt-multi-thread
"""
[build]
# We pass "--cfg docsrs" when building docs to add `This is supported on feature="..." only.`
rustdocflags = ["--cfg", "docsrs", "-Znormalize-docs"]