@@ -107,7 +107,7 @@ impl<const N: usize> String<N> {
107
107
/// ```rust
108
108
/// # use heapless::string::{String, StringView};
109
109
/// let s: String<12> = String::try_from("Hello").unwrap();
110
- /// let view: &StringView = &s;
110
+ /// let view: &StringView = &s;
111
111
/// ```
112
112
pub fn as_view ( & self ) -> & StringView {
113
113
self
@@ -126,7 +126,7 @@ impl<const N: usize> String<N> {
126
126
/// ```rust
127
127
/// # use heapless::string::{String, StringView};
128
128
/// let mut s: String<12> = String::try_from("Hello").unwrap();
129
- /// let view: &mut StringView = &mut s;
129
+ /// let view: &mut StringView = &mut s;
130
130
/// ```
131
131
pub fn as_mut_view ( & mut self ) -> & mut StringView {
132
132
self
@@ -590,7 +590,7 @@ impl StringView {
590
590
/// Basic usage:
591
591
///
592
592
/// ```
593
- /// use heapless::string::{String,StringView};
593
+ /// use heapless::string::{String, StringView};
594
594
///
595
595
/// let mut s: String<8> = String::try_from("hello")?;
596
596
/// let s: &mut StringView = &mut s;
@@ -615,7 +615,7 @@ impl StringView {
615
615
/// Basic usage:
616
616
///
617
617
/// ```
618
- /// use heapless::string::{String,StringView};
618
+ /// use heapless::string::{String, StringView};
619
619
///
620
620
/// let mut s: String<8> = String::try_from("foo")?;
621
621
/// let s: &mut StringView = &mut s;
@@ -640,7 +640,7 @@ impl StringView {
640
640
/// Basic usage:
641
641
///
642
642
/// ```
643
- /// use heapless::string::{String,StringView};
643
+ /// use heapless::string::{String, StringView};
644
644
///
645
645
/// let s: String<4> = String::new();
646
646
/// let s: &StringView = &s;
@@ -658,7 +658,7 @@ impl StringView {
658
658
/// Basic usage:
659
659
///
660
660
/// ```
661
- /// use heapless::string::{String,StringView};
661
+ /// use heapless::string::{String, StringView};
662
662
///
663
663
/// let mut s: String<8> = String::try_from("abc")?;
664
664
/// let s: &mut StringView = &mut s;
@@ -700,7 +700,7 @@ impl StringView {
700
700
/// Basic usage:
701
701
///
702
702
/// ```
703
- /// use heapless::string::{String,StringView};
703
+ /// use heapless::string::{String, StringView};
704
704
///
705
705
/// let mut s: String<8> = String::try_from("hello")?;
706
706
/// let s: &mut StringView = &mut s;
@@ -727,7 +727,7 @@ impl StringView {
727
727
/// Basic usage:
728
728
///
729
729
/// ```
730
- /// use heapless::string::{String,StringView};
730
+ /// use heapless::string::{String, StringView};
731
731
///
732
732
/// let mut s: String<8> = String::try_from("foo")?;
733
733
/// let s: &mut StringView = &mut s;
@@ -767,7 +767,7 @@ impl StringView {
767
767
/// Basic usage:
768
768
///
769
769
/// ```
770
- /// use heapless::string::{String,StringView};
770
+ /// use heapless::string::{String, StringView};
771
771
///
772
772
/// let mut s: String<8> = String::try_from("foo").unwrap();
773
773
/// let s: &mut StringView = &mut s;
0 commit comments