Skip to content

1.0.48

Compare
Choose a tag to compare
@dtolnay dtolnay released this 22 Nov 17:44
· 376 commits to master since this release
1.0.48
f4269d5
  • Include a Debug rendering of lhs and rhs in ensure! messages (#193, #194, #195, #196, #197, #198)

    Example:

    ensure!(flags.len() <= 40);
    ensure!(kind == Kind::File);

    Before:

    Condition failed: `flags.len() <= 40`
    Condition failed: `kind == Kind::File`

    After:

    Condition failed: `flags.len() <= 40` (99 vs 40)
    Condition failed: `kind == Kind::File` (Symlink vs File)