Skip to content
#

Rust

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 24,414 public repositories matching this topic...

canonic-epicure
canonic-epicure commented May 10, 2021

Currently the error message of the exception, thrown from the Deno.stat/statSync, when the file is missing, does not include the file name:

nickolay@frontier:~/workspace/Bryntum/siesta-monorepo/siesta$ deno
Deno 1.9.2
exit using ctrl+d or close()
> Deno.statSync('/home/nickolay/not_existing_file')
Uncaught NotFound: No such file or directory (os error 2)
    at unwrapOpResult (deno:co
maple3142
maple3142 commented Jul 1, 2021

My problem is that I use my home directory as a git repo to manage my dotfiles, so there is a ~/.gitignore that ignores everything except some files. The problem is fd won't work by default at this situation. Although there is a --no-ignore-vcs, but I still want .gitignore to be respected when I am in a project directory.

Ripgrep has a flag --no-ignore-parent that can ignore `.gitigno

kubouch
kubouch commented Jun 30, 2021

Describe the bug
$nothing | into string currently yields a "nothing" string. I think it empty string ("") represents $nothing better than literal "nothing".

To Reproduce
Steps to reproduce the behavior:

  1. $nothing | into string

Expected behavior
Empty string ("")

Configuration (please complete the following information):

Run version | pivot and paste th

TimUntersberger
TimUntersberger commented Mar 1, 2021

Right now any StyleSheet has a list of functions without a default implementation. Implementing a StyleSheet is really annoying, because you have to override all of the functions and not just the thing you want to change.

I recently wanted to just change the border_radius of a text_input and I had to write the following code.

impl StyleSheet for Styles {
    fn active(&self) ->

Created by Graydon Hoare

Released 2010

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

Related Topics

c-plus-plus language