1 #[derive(Debug)]
2 pub struct Foo {
3     s: &'static str,
4     i: &'static str
5 }
6 
7 impl Foo {
newnull8     pub fn new(s: &'static str) -> Foo {
9         Foo{s: s, i: "foo"}
10     }
11 }