Skip to content
This repository has been archived by the owner on Feb 12, 2018. It is now read-only.

Commit

Permalink
clone syntax-definitions too
Browse files Browse the repository at this point in the history
  • Loading branch information
TyOverby committed Jul 11, 2016
1 parent 8f1ec83 commit cf96aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsing/syntax_definition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub type ContextPtr = Rc<RefCell<Context>>;
/// Some useful public fields are the `name` field which is a human readable
/// name to display in syntax lists, and the `hidden` field which means hide
/// this syntax from any lists because it is for internal use.
#[derive(Debug, RustcEncodable, RustcDecodable)]
#[derive(Clone, Debug, RustcEncodable, RustcDecodable)]
pub struct SyntaxDefinition {
pub name: String,
pub file_extensions: Vec<String>,
Expand Down

0 comments on commit cf96aa1

Please sign in to comment.