xref: /aosp_15_r20/external/bazelbuild-rules_rust/test/chained_direct_deps/mod1.rs (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)

world() -> String1 pub fn world() -> String {
2     "world".to_owned()
3 }
4 
5 #[cfg(test)]
6 mod test {
7     #[test]
test_world()8     fn test_world() {
9         assert_eq!(super::world(), "world");
10     }
11 }
12