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:
parent
dab886f479
commit
4cc4f08a53
39 changed files with 116 additions and 116 deletions
|
@ -81,7 +81,7 @@ impl super::LspAdapter for OmniSharpAdapter {
|
|||
archive.unpack(container_dir).await?;
|
||||
}
|
||||
|
||||
// todo!("windows")
|
||||
// todo("windows")
|
||||
#[cfg(not(windows))]
|
||||
{
|
||||
fs::set_permissions(
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -83,7 +83,7 @@ impl super::LspAdapter for LuaLspAdapter {
|
|||
archive.unpack(container_dir).await?;
|
||||
}
|
||||
|
||||
// todo!("windows")
|
||||
// todo("windows")
|
||||
#[cfg(not(windows))]
|
||||
{
|
||||
fs::set_permissions(
|
||||
|
|
|
@ -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 }
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -86,7 +86,7 @@ impl LspAdapter for ZlsAdapter {
|
|||
archive.unpack(container_dir).await?;
|
||||
}
|
||||
|
||||
// todo!("windows")
|
||||
// todo("windows")
|
||||
#[cfg(not(windows))]
|
||||
{
|
||||
fs::set_permissions(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue