Sign in
gn
/
gn.git
/
207400cee176a4f71c3b595ae880dc62cd632c06
/
.
/
examples
/
rust_example
/
hello_world
/
foo
/
src
/
lib.rs
blob: 73c615c98d1ee00ee78be487e4a524192cb6a305 [
file
] [
log
] [
blame
]
#[
derive
(
Debug
)]
pub
struct
Foo
{
s
:
&
'
static
str
,
i
:
&
'
static
str
}
impl
Foo
{
pub
fn
new
(
s
:
&
'
static
str
)
->
Foo
{
Foo
{
s
:
s
,
i
:
"foo"
}
}
}