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