strings: comment deprecation of Builder.write_bytes temporarily

pull/9415/head
Delyan Angelov 2021-03-22 09:01:22 +02:00
parent 1eb3ed9818
commit 400b4027c9
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ pub fn new_builder(initial_size int) Builder {
}
// write_bytes appends `bytes` to the accumulated buffer
[deprecated: 'use Builder.write_ptr() instead']
//[deprecated: 'use Builder.write_ptr() instead']
[unsafe]
pub fn (mut b Builder) write_bytes(bytes byteptr, len int) {
unsafe { b.write_ptr(bytes, len) }