Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Add snippets for eprint, eprintln, todo, unimplemented, and unreachable #162

Merged
merged 1 commit into from
May 11, 2020

Conversation

sunjay
Copy link
Member

@sunjay sunjay commented May 11, 2020

Thanks for maintaining this plugin! I'm the person who added the snippets in #112.

Rust has added many new features since those snippets were first created in the language-rust plugin. We now have eprint and eprintln for printing to stderr, and todo as a substitute for unimplemented. I added snippets for each of those and for unreachable/unimplemented as well since both of those are very useful.

The snippets in the file are in alphabetical order, so I made my changes to keep that consistent.

These are snippets I've had in my snippets file for a while and I hope others will find them as useful as I have. :)

@alexheretic
Copy link
Member

Nice one, thanks for the update!

@alexheretic alexheretic merged commit dc7e081 into rust-lang:master May 11, 2020
@sunjay sunjay deleted the patch-1 branch May 11, 2020 15:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants