diff options
| author | Rubens Brandao <git@rubens.io> | 2024-06-14 09:01:33 -0300 |
|---|---|---|
| committer | Kyle Martin <krm504@nyu.edu> | 2024-07-09 18:45:30 -0400 |
| commit | bd4a8a608ce3e2175cf5eb366428b8718bb2e25c (patch) | |
| tree | 975d2ab4685befb838710eeeb1f6e1c2498956e3 /rust | |
| parent | 66cb34c9b6fc3620cc60faf8ce964b255608b69e (diff) | |
fix doc warning
Diffstat (limited to 'rust')
| -rw-r--r-- | rust/src/typelibrary.rs | 6 |
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 { |
