Apply suggestions from code review

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by Eli Flanagan Sandro and committed by Raphael Megzari 326cfefd b829fe48

+2 -3
+2 -3
doc/languages-frameworks/rust.section.md
··· 917 917 You can also use an overlay's Rust toolchain with `buildRustPackage`. 918 918 The below snippet demonstrates invoking `buildRustPackage` with an oxalica overlay selected Rust toolchain: 919 919 ```nix 920 - with import <nixpkgs> 921 - { 920 + with import <nixpkgs> { 922 921 overlays = [ 923 922 (import (fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz")) 924 923 ]; ··· 933 932 934 933 src = fetchFromGitHub { 935 934 owner = "BurntSushi"; 936 - repo = pname; 935 + repo = "ripgrep"; 937 936 rev = version; 938 937 sha256 = "1hqps7l5qrjh9f914r5i6kmcz6f1yb951nv4lby0cjnp5l253kps"; 939 938 };