summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/typelibrary.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/rust/src/typelibrary.rs b/rust/src/typelibrary.rs
index 79cb6569..4940454d 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.
+ /// <div class="warning">
+ ///
+ /// Use this api with extreme caution.
+ ///
+ /// </div/
pub fn add_type_source<S: BnStrCompatible>(&self, name: &QualifiedName, source: S) {
let source = source.into_bytes_with_nul();
unsafe {