Remove ! from todo!() in comments (#8643)

This practice makes it difficult to locate todo!s in my code when I'm
working. Let's take out the bang if we want to keep doing this.

Release Notes:

- N/A
This commit is contained in:
Nathan Sobo 2024-02-29 18:19:05 -07:00 committed by GitHub
parent dab886f479
commit 4cc4f08a53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 116 additions and 116 deletions

View file

@ -81,7 +81,7 @@ impl super::LspAdapter for OmniSharpAdapter {
archive.unpack(container_dir).await?;
}
// todo!("windows")
// todo("windows")
#[cfg(not(windows))]
{
fs::set_permissions(

View file

@ -358,7 +358,7 @@ impl LspAdapter for NextLspAdapter {
}
futures::io::copy(response.body_mut(), &mut file).await?;
// todo!("windows")
// todo("windows")
#[cfg(not(windows))]
{
fs::set_permissions(

View file

@ -83,7 +83,7 @@ impl super::LspAdapter for LuaLspAdapter {
archive.unpack(container_dir).await?;
}
// todo!("windows")
// todo("windows")
#[cfg(not(windows))]
{
fs::set_permissions(

View file

@ -26,7 +26,7 @@ pub struct PurescriptLspAdapter {
}
impl PurescriptLspAdapter {
// todo!(linux): remove
// todo(linux): remove
#[cfg_attr(target_os = "linux", allow(dead_code))]
pub fn new(node: Arc<dyn NodeRuntime>) -> Self {
Self { node }

View file

@ -74,7 +74,7 @@ impl LspAdapter for RustLspAdapter {
let decompressed_bytes = GzipDecoder::new(BufReader::new(response.body_mut()));
let mut file = File::create(&destination_path).await?;
futures::io::copy(decompressed_bytes, &mut file).await?;
// todo!("windows")
// todo("windows")
#[cfg(not(windows))]
{
fs::set_permissions(

View file

@ -72,7 +72,7 @@ impl LspAdapter for TaploLspAdapter {
futures::io::copy(decompressed_bytes, &mut file).await?;
// todo!("windows")
// todo("windows")
#[cfg(not(windows))]
{
fs::set_permissions(

View file

@ -86,7 +86,7 @@ impl LspAdapter for ZlsAdapter {
archive.unpack(container_dir).await?;
}
// todo!("windows")
// todo("windows")
#[cfg(not(windows))]
{
fs::set_permissions(