This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 98a5c7d
authored
Rollup merge of rust-lang#67985 - dtolnay:cstr, r=Mark-Simulacrum
Remove insignificant notes from CStr documentation
The to_str and to_string_lossy methods contain a note about the behavior possibly changing in the future. But those notes are referring to a distinction that is not observable in the API. Whether or not the UTF-8 check knows the string length ahead of time, these methods require linear time.1 file changed
+0
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1187 | 1187 | | |
1188 | 1188 | | |
1189 | 1189 | | |
1190 | | - | |
1191 | | - | |
1192 | | - | |
1193 | | - | |
1194 | | - | |
1195 | 1190 | | |
1196 | 1191 | | |
1197 | 1192 | | |
| |||
1220 | 1215 | | |
1221 | 1216 | | |
1222 | 1217 | | |
1223 | | - | |
1224 | | - | |
1225 | | - | |
1226 | | - | |
1227 | | - | |
1228 | 1218 | | |
1229 | 1219 | | |
1230 | 1220 | | |
| |||
0 commit comments