Skip to content

Commit

Permalink
Nits
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jun 9, 2021
1 parent f6842c0 commit bcf1123
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/assemblyscript/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ pub trait ToLanguageRepresentation {

impl ToLanguageRepresentation for ASType {
fn as_astype(&self) -> &ASType {
&self
self
}
}
2 changes: 1 addition & 1 deletion src/doc/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@ pub trait ToLanguageRepresentation {

impl ToLanguageRepresentation for ASType {
fn as_astype(&self) -> &ASType {
&self
self
}
}
2 changes: 1 addition & 1 deletion src/overview/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ pub trait ToLanguageRepresentation {

impl ToLanguageRepresentation for ASType {
fn as_astype(&self) -> &ASType {
&self
self
}
}
2 changes: 1 addition & 1 deletion src/rust/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ pub trait ToLanguageRepresentation {

impl ToLanguageRepresentation for ASType {
fn as_astype(&self) -> &ASType {
&self
self
}
}
2 changes: 1 addition & 1 deletion src/zig/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ pub trait ToLanguageRepresentation {

impl ToLanguageRepresentation for ASType {
fn as_astype(&self) -> &ASType {
&self
self
}
}

0 comments on commit bcf1123

Please sign in to comment.