Skip to content
#

formatter

Here are 1,180 public repositories matching this topic...

black
raylee
raylee commented Dec 23, 2021

I've been testing shell portability for a silly script of mine, and hit upon a behavior difference with the built-in command test:

for shell in sh bash dash zsh ksh csh tcsh gosh; do 
    printf "%s\t" "$shell "
    $shell -c "test -d '' && echo true || echo false"
done
sh 	false
bash 	false
dash 	false
zsh 	false
ksh 	false
csh 	false
tcsh 	false
gosh 	tru
clux
clux commented Oct 11, 2021

Good evening!
This is a feature request (AFAIKT there's no configuration option or duplicate issue for this).

In many cases where nightly rustfmt is applied by CI in public repositories, users will often run cargo fmt themselves directly or through their editor causing warnings arising from using the stable rustfmt where the nightly is required. E.g.:

$ cargo fmt
Warning

Improve this page

Add a description, image, and links to the formatter topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the formatter topic, visit your repo's landing page and select "manage topics."

Learn more