Sign in
gn
/
gn.git
/
6975103d9f59ed9f3cfbc6d2201298f2c2fde046
/
.
/
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"
}
}
}