@-ify all the things
[rust-101.git] / Makefile
index 25a2fe0e6ee3c6f63257983b77750f6e54ce22b7..40a2a79fd83aec5a494b59be96a7e758aca97cde 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ workspace/src/%.rs: src/%.rs Makefile dup-unimpl.sed
        @echo "$< -> $@"
        @echo "// ***Remember to enable/add this part in \`main.rs\`!***" > $@
        @echo >> $@
-       @sed '/^\s*\/\/@/d;s|\(\s*\)[^\s].*/\*@\*/|\1unimplemented!()|' $< | sed -f dup-unimpl.sed >> $@
+       @sed '/^\s*\/\/@/d;s|\(\s*\)\S.*/\*@\*/|\1unimplemented!()|' $< | sed -f dup-unimpl.sed >> $@
 
 workspace/src/main.rs:
        # Don't touch this file