Skip to content

Add raw strings, use raw strings for env - #5090

Merged
sophiajt merged 1 commit into
nushell:mainfrom
sophiajt:add_raw_string
Apr 4, 2022
Merged

sophiajt merged 1 commit into
nushell:mainfrom
sophiajt:add_raw_string

Conversation

@sophiajt

@sophiajt sophiajt commented Apr 4, 2022

Copy link
Copy Markdown
Contributor

Description

Adds backtick as a way of creating a raw string. We go ahead and use this when creating the fake env source as we import the external environment.

Tests

Make sure you've run and fixed any issues with these commands:

  • cargo fmt --all -- --check to check standard code formatting (cargo fmt --all applies these changes)
  • cargo clippy --all --all-features -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect to check that you're using the standard code style
  • cargo build; cargo test --all --all-features to check that all the tests pass

@sophiajt
sophiajt merged commit abe028f into nushell:main Apr 4, 2022
@fdncred

fdncred commented Apr 4, 2022

Copy link
Copy Markdown
Contributor

this looks good to me now

@sophiajt
sophiajt deleted the add_raw_string branch September 2, 2023 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants