Skip to content

Commit c94a692

Browse files
Reword a comment for clarity.
1 parent 935c576 commit c94a692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/std/str.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ fn main() {
122122
// Note that this is not actually a &str
123123
let bytestring: &[u8; 20] = b"this is a bytestring";
124124
125-
// Byte arrays don't have Display so printing them is a bit limited
125+
// Byte arrays don't have the `Display` trait, so printing them is a bit limited
126126
println!("A bytestring: {:?}", bytestring);
127127
128128
// Bytestrings can have byte escapes...

0 commit comments

Comments
 (0)