File tree 3 files changed +13
-3
lines changed
3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
Notable changes only.
4
4
5
+ ## [ unreleased]
6
+
7
+ ### Fixed
8
+
9
+ - fix doc issue [ #28 ] ( https://github.com/polazarus/hipstr/issues/28 )
10
+
5
11
## [ 0.5.1] - 2024-08-02
6
12
7
13
### Added
@@ -110,7 +116,7 @@ Most of those addition are breaking because they shadows `str`'s methods.
110
116
111
117
Initial release
112
118
113
- <!-- [unreleased]: https://github.com/polazarus/hipstr/compare/0.5.1...HEAD -->
119
+ [ unreleased ] : https://github.com/polazarus/hipstr/compare/0.5.1...HEAD
114
120
[ 0.5.1 ] : https://github.com/polazarus/hipstr/compare/0.5.0...0.5.1
115
121
[ 0.5.0 ] : https://github.com/polazarus/hipstr/compare/0.4.0...0.5.0
116
122
[ 0.4.0 ] : https://github.com/polazarus/hipstr/compare/0.3.3...0.4.0
Original file line number Diff line number Diff line change @@ -128,7 +128,9 @@ where
128
128
Self ( Raw :: with_capacity ( cap) )
129
129
}
130
130
131
- /// Creates a new `HipByt` from a borrowed slice without copying the slice.
131
+ /// Creates a new `HipByt` from a byte slice.
132
+ /// No heap allocation is performed.
133
+ /// **The slice is not copied.**
132
134
///
133
135
/// # Examples
134
136
///
Original file line number Diff line number Diff line change @@ -116,7 +116,9 @@ where
116
116
Self ( HipByt :: with_capacity ( cap) )
117
117
}
118
118
119
- /// Creates a new `HipStr` from a static string slice without copying the slice.
119
+ /// Creates a new `HipStr` from a string slice.
120
+ /// No heap allocation is performed.
121
+ /// **The string is not copied.**
120
122
///
121
123
/// # Examples
122
124
///
You can’t perform that action at this time.
0 commit comments