Commit 542d36c1 authored by Ricardo Silva Veloso's avatar Ricardo Silva Veloso
Browse files

Update Rust snippets

parent c205cbfa
......@@ -70,6 +70,10 @@ snippet no_main
- desc #![no_main]
#![no_main]
$0
snippet non_exhaustive
- desc #[non_exhaustive]
#[non_exhaustive]
$0
snippet inline
- desc #[inline]
#[inline]
......@@ -277,6 +281,9 @@ snippet unreachable
snippet unimplemented
- desc unimplemented!()
unimplemented!()$0
snippet todo
- desc todo!()
todo!()$0
snippet assert
- desc assert!(…)
assert!(${1:expression})$0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment