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 23,221 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
bat
yew
aborruso
aborruso commented May 24, 2021

If I run trim

echo [[Column1]; ["  Value1   a lot of spaces  "] [Value3]] | str trim

it trims only "wrong" withe spaced at the beginning and at the end

───┬──────────────────────────
 # │         Column1
───┼──────────────────────────
 0 │ Value1   a lot of spaces
 1 │ Value3
───┴──────────────────────────

It it would be great a complete white spaces cleaning

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) ->
bevy
jakobhellermann
jakobhellermann commented May 16, 2021

What problem does this solve or what need does it fill?

The PR bevyengine/bevy#2112 added the DirectionalLight component, but in order to use it you need to spawn an entity with a Transform, GlobalTransform and DirectionalLight. This is cumbersome and can difficult to understand for an unexperienced bevy user.

What solution would you like?

A `Directio

Created by Graydon Hoare

Released 2010

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

Related Topics

c-plus-plus language