X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/0b126b3637b97200f23be4e753d245852e0355ee..4f61be32dd480f23a7fef05ee66c42ae27c980c6:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 25a2fe0..40a2a79 100644 --- 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