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