mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 15:56:09 +03:00
fix: correct pd/ppd/tfn/tmod completion doc
https://github.com/rust-analyzer/rust-analyzer/blob/a33eefa3b26000b3018e6bb873f18dbe15ab4ab7/crates/ra_ide/src/completion/complete_snippet.rs#L23
This commit is contained in:
@@ -63,11 +63,11 @@
|
||||
// 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 @@
|
||||
// use super::*;
|
||||
//
|
||||
// #[test]
|
||||
// fn test_fn() {}
|
||||
// fn test_name() {}
|
||||
// }
|
||||
// ```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user