Skip to main content

rl_lang/docs/entries/stdlib/bitwise/
leading_zeros.rs

1use crate::docs::entry::FnEntry;
2
3pub static LEADING_ZEROS: FnEntry = FnEntry {
4    signature: "leading_zeros(a)",
5    description: "returns the number of leading zero bits in a byte or int value",
6    example: "get std::bitwise::leading_zeros\n\nleading_zeros(8) // 60",
7    expected_output: None,
8    returns: "",
9    errors: None,
10    see_also: &[],
11    since: None,
12};