13 lines · 254 B · Rust
RawDownload
use git_features::hash::Sha1; #[cfg(not(feature = "fast-sha1"))]#[test]fn size_of_sha1() {    assert_eq!(std::mem::size_of::<Sha1>(), 96)} #[cfg(feature = "fast-sha1")]#[test]fn size_of_sha1() {    assert_eq!(std::mem::size_of::<Sha1>(), 104)}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t