Skip to main content
wrapping_shl
vstd
In vstd::
wrapping::
usize_
specs
vstd
::
wrapping
::
usize_specs
Function
wrapping_
shl
Copy item path
Source
pub
open spec
fn wrapping_shl(x:
usize
, shift:
u32
) ->
usize
Expand description
{ x << (shift % usize::BITS) }