Set +x with withCredentials

Just wondering is set +x still needed when curl -u ... is used along with withCredentials(). Example in the Jenkins documentation uses it Credentials Binding Plugin but I see no real difference in the Jenkins Console output. Using it or not, in both cases credentials are still masked correctly.