The Wayback Machine - https://web.archive.org/web/20210624025225/https://github.com/topics/rust-lang
Skip to content
#

rust-lang

rust logo

Rust is a systems programming language created by Mozilla. It is similar to C++, but is designed for improved memory safety without sacrificing performance.

Here are 2,608 public repositories matching this topic...

mdaniel
mdaniel commented Jan 20, 2019

What happened

Accidentally omitting document content returns 500 Internal Server Error with a body of {"message":"Internal error","uri":"/new_index"}

What was expected

Emitting any kind of helpful message would be helpful. Also, in my experience, when the client receives a 500 response, there is usually something informative on the server-side. But in this case, the server e

hawkw
hawkw commented Feb 23, 2021

Feature Request

Crates

  • tracing-core

Motivation

The Collect trait currently has several methods with default implementations that return an Option or some other "empty" or "default" type. In many cases, this isn't because it makes sense for those methods to be optional, but because they were added after v0.1.0 was released and making them mandatory would have been a

dotenv-linter
atsmtat
atsmtat commented May 15, 2021

Currently, lints are recognized using string -- "DuplicatedKey", "EndingBlankLine" etc.
It could be done by defining an Enum -- something like:

enum Lint {
   DuplicatedKey,
   EndingBlankLine,
   ExtraBlankLine,
   // ...
}

And use it in place of &str for Warning::check_name, Check::name, and Fix::name. Lint can implement Display for printing purposes. This

Created by Graydon Hoare

Released 2010

Organization
rust-lang
Website
www.rust-lang.org
Wikipedia
Wikipedia

Related Topics

c-plus-plus language