From bd4a8a608ce3e2175cf5eb366428b8718bb2e25c Mon Sep 17 00:00:00 2001 From: Rubens Brandao Date: Fri, 14 Jun 2024 09:01:33 -0300 Subject: [PATCH] fix doc warning --- rust/src/typelibrary.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rust/src/typelibrary.rs b/rust/src/typelibrary.rs index 79cb6569b..4940454d1 100644 --- a/rust/src/typelibrary.rs +++ b/rust/src/typelibrary.rs @@ -293,7 +293,11 @@ impl TypeLibrary { /// Manually flag NamedTypeReferences to the given QualifiedName as originating from another source /// TypeLibrary with the given dependency name. /// - /// .. warning:: Use this api with extreme caution. + ///
+ /// + /// Use this api with extreme caution. + /// + ///
(&self, name: &QualifiedName, source: S) { let source = source.into_bytes_with_nul(); unsafe {