Sha256: 6ff9f50ccacd30fb27e1c448b26b26343e5d7372f2c7718ca8bf130c302557e0
Contents?: true
Size: 272 Bytes
Versions: 12
Compression:
Stored size: 272 Bytes
Contents
#![cfg(feature = "spin_no_std")] #![no_std] #[macro_use] extern crate lazy_static; lazy_static! { /// Documentation! pub static ref NUMBER: u32 = times_two(3); } fn times_two(n: u32) -> u32 { n * 2 } #[test] fn test_basic() { assert_eq!(*NUMBER, 6); }
Version data entries
12 entries across 12 versions & 1 rubygems