Skip to content

Commit

Permalink
fix doc warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rbran authored and ElykDeer committed Jul 9, 2024
1 parent 66cb34c commit bd4a8a6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rust/src/typelibrary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit bd4a8a6

Please sign in to comment.