extern_spec_Sub_Instant_Instant_sub

Function extern_spec_Sub_Instant_Instant_sub 

Source
pub fn extern_spec_Sub_Instant_Instant_sub(
    self_: Instant,
    other: Instant,
) -> Duration
Expand description

extern spec for Instant::sub

This is not a real function: its only use is for documentation.

terminates

ghost

ensures

self@ > other@ ==> result@ > 0

ensures

self@ <= other@ ==> result@ == 0