fix: correct pd/ppd/tfn/tmod completion doc

a33eefa3b2/crates/ra_ide/src/completion/complete_snippet.rs (L23)
This commit is contained in:
Heyward Fann 2020-07-02 11:06:00 +08:00
parent a33eefa3b2
commit f1986be8fd

View File

@ -63,11 +63,11 @@ pub use crate::completion::{
// There also snippet completions:
//
// .Expressions
// - `pd` -> `println!("{:?}")`
// - `ppd` -> `println!("{:#?}")`
// - `pd` -> `eprintln!(" = {:?}", );")`
// - `ppd` -> `eprintln!(" = {:#?}", );`
//
// .Items
// - `tfn` -> `#[test] fn f(){}`
// - `tfn` -> `#[test] fn feature(){}`
// - `tmod` ->
// ```rust
// #[cfg(test)]
@ -75,7 +75,7 @@ pub use crate::completion::{
// use super::*;
//
// #[test]
// fn test_fn() {}
// fn test_name() {}
// }
// ```