File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -546,8 +546,6 @@ impl<T: TransparentType> Slice<T> {
546
546
547
547
// rustdoc-stripper-ignore-next
548
548
/// Returns the underlying pointer.
549
- ///
550
- /// This is guaranteed to be `NULL`-terminated.
551
549
#[ inline]
552
550
pub fn as_ptr ( & self ) -> * const T :: GlibType {
553
551
if self . len == 0 {
@@ -559,8 +557,6 @@ impl<T: TransparentType> Slice<T> {
559
557
560
558
// rustdoc-stripper-ignore-next
561
559
/// Returns the underlying pointer.
562
- ///
563
- /// This is guaranteed to be `NULL`-terminated.
564
560
#[ inline]
565
561
pub fn as_mut_ptr ( & mut self ) -> * mut T :: GlibType {
566
562
if self . len == 0 {
@@ -572,8 +568,6 @@ impl<T: TransparentType> Slice<T> {
572
568
573
569
// rustdoc-stripper-ignore-next
574
570
/// Consumes the slice and returns the underlying pointer.
575
- ///
576
- /// This is guaranteed to be `NULL`-terminated.
577
571
#[ inline]
578
572
pub fn into_raw ( mut self ) -> * mut T :: GlibType {
579
573
if self . len == 0 {
You can’t perform that action at this time.
0 commit comments