File: cross_crate.rs

package info (click to toggle)
rust-defmac 0.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 112 kB
  • sloc: makefile: 4
file content (7 lines) | stat: -rw-r--r-- 104 bytes parent folder | download
1
2
3
4
5
6
7

#[test]
fn full_path() {
    defmac::defmac! { len x => x.len() }

    assert_eq!(len!(&[1, 2]), 2);
}