Skip to content

Commit 468fdb3

Browse files
Fix some docs warnings
1 parent 7837df9 commit 468fdb3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

glib/src/collections/ptr_slice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ impl<T: TransparentPtrType> From<super::Slice<T>> for PtrSlice<T> {
10721072
}
10731073

10741074
// rustdoc-stripper-ignore-next
1075-
/// A trait to accept both <code>&[T]</code> or <code>PtrSlice<T></code> as an argument.
1075+
/// A trait to accept both `&[T]` or `PtrSlice<T>` as an argument.
10761076
pub trait IntoPtrSlice<T: TransparentPtrType> {
10771077
// rustdoc-stripper-ignore-next
10781078
/// Runs the given closure with a `NULL`-terminated array.

glib/src/collections/strv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ impl From<StrV> for crate::Value {
10641064
}
10651065

10661066
// rustdoc-stripper-ignore-next
1067-
/// A trait to accept both <code>&[T]</code> or <code>StrV</code> as an argument.
1067+
/// A trait to accept both `&[T]` or `StrV` as an argument.
10681068
pub trait IntoStrV {
10691069
// rustdoc-stripper-ignore-next
10701070
/// Runs the given closure with a `NULL`-terminated array.

glib/src/gstring_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ impl GStringBuilder {
116116
}
117117

118118
// rustdoc-stripper-ignore-next
119-
/// Returns <code>&[str]</code> slice.
119+
/// Returns `&[str]` slice.
120120
#[inline]
121121
pub fn as_str(&self) -> &str {
122122
unsafe {

0 commit comments

Comments
 (0)