Skip to content

Commit 8808a6c

Browse files
committed
Updated to #![annotation]
1 parent 3ff4074 commit 8808a6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ src/lib.rs:
202202
test -e src/lib.rs \
203203
|| \
204204
( \
205-
echo -e "#[crate_id = \"\"];\n#[deny(missing_doc)];\n\n//! Documentation goes here.\n" > src/lib.rs \
205+
echo -e "#![crate_id = \"\"]\n#![deny(missing_doc)]\n\n//! Documentation goes here.\n" > src/lib.rs \
206206
)
207207

208208
clean:
@@ -242,7 +242,7 @@ rusti:
242242
) \
243243
|| \
244244
( \
245-
echo -e "#!/bin/sh\n\n#written by mcpherrin\n\nwhile true; do\n echo -n \" > \"\n read line\n TMP=`mktemp`\n $(COMPILER) - -o \$$TMP <<EOF\n #[feature(globs, macro_rules, struct_variant)];\n // extern mod extra;\n fn main() {\n let r = { \$$line };\n println!(\"{:?}\", r);\n }\nEOF\n \$$TMP\n rm \$$TMP\ndone" > rusti.sh \
245+
echo -e "#!/bin/sh\n\n#written by mcpherrin\n\nwhile true; do\n echo -n \" > \"\n read line\n TMP=`mktemp`\n $(COMPILER) - -o \$$TMP <<EOF\n #![feature(globs, macro_rules, struct_variant)]\n // extern mod extra;\n fn main() {\n let r = { \$$line };\n println!(\"{:?}\", r);\n }\nEOF\n \$$TMP\n rm \$$TMP\ndone" > rusti.sh \
246246
&& chmod +x rusti.sh \
247247
&& clear \
248248
&& echo "--- Created 'rusti.sh'" \

0 commit comments

Comments
 (0)