tonsky / tonsky/FiraCode

Ligature request: &= *= %= //! #![

Open
#512 1 comment 11 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
82k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

Those are mainly used in Rust.

  • &= is an operator for bitwise AND assignment:
scalar &= Scalar(true);
  • *= is an operator for multiplication assignment:
frequency *= 4.0;
  • %= is an operator for remainder assignment:
self.cookies %= piles;
  • //! isn't an operator, but a notation for documentation comments:
//! This is documentation for the `foo` crate.
//!
//! The foo crate is meant to be used for bar.
  • Oh, and #![ is for global crate attributes:
#![feature(const_generics)]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named in the issue, so first locate the project's existing programming-ligature definitions. Use the listed Rust sequences (&=, *=, %=, //!, and #![) as the requested scope, and verify that each renders as the intended ligature.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
design
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.