Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/rob_thesis/cfa-format.tex

    rf92aa32 r9c14ae9  
    7272  morecomment=[n]{/+}{+/},
    7373  morecomment=[n][\color{blue}]{/++}{+/},
    74   % Options
    75   sensitive=true
    76 }
    77 
    78 \lstdefinelanguage{rust}{
    79   % Keywords
    80   morekeywords=[1]{
    81     abstract, alignof, as, become, box,
    82     break, const, continue, crate, do,
    83     else, enum, extern, false, final,
    84     fn, for, if, impl, in,
    85     let, loop, macro, match, mod,
    86     move, mut, offsetof, override, priv,
    87     proc, pub, pure, ref, return,
    88     Self, self, sizeof, static, struct,
    89     super, trait, true,  type, typeof,
    90     unsafe, unsized, use, virtual, where,
    91     while, yield
    92   },
    93   % Strings
    94   morestring=[b]{"},
    95   % Comments
    96   comment=[l]{//},
    97   morecomment=[s]{/*}{*/},
    9874  % Options
    9975  sensitive=true
     
    184160}{}
    185161
    186 \lstnewenvironment{rustcode}[1][]{
    187   \lstset{
    188     language = rust,
    189     style=defaultStyle,
    190     #1
    191   }
    192 }{}
    193 
    194162\newcommand{\zero}{\lstinline{zero_t}\xspace}
    195163\newcommand{\one}{\lstinline{one_t}\xspace}
Note: See TracChangeset for help on using the changeset viewer.