Skip to content

Commit 87af9af

Browse files
committed
Document as big-endian
Signed-off-by: Nico Burns <[email protected]>
1 parent 3447343 commit 87af9af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl Script {
3838
Self::inner_from_short_name(input)
3939
}
4040

41-
/// The 4-byte iso15924 tag as a `u32`
41+
/// The 4-byte iso15924 tag as a big-endian `u32`
4242
pub fn as_iso15924_tag(self) -> u32 {
4343
let arr: [u8; 4] = self.inner_short_name().as_bytes().try_into().unwrap();
4444
u32::from_be_bytes(arr)

0 commit comments

Comments
 (0)