docs: Comment about spaces in nix-shell config (#2106)

* Add comment about doublespace in nix-shell config

* docs: Add a semantic PR commit to appease the bot
This commit is contained in:
Kevin Song 2021-01-09 03:29:47 -06:00 committed by GitHub
parent c4b99ef7fa
commit 3fc9f490bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,9 @@ pub struct NixShellConfig<'a> {
pub disabled: bool,
}
/* The trailing double spaces in `symbol` are needed to work around issues with
multiwidth emoji support in some shells. Please do not file a PR to change this
unless you can show that your changes do not affect this workaround. */
impl<'a> RootModuleConfig<'a> for NixShellConfig<'a> {
fn new() -> Self {
NixShellConfig {