mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Update d.html.markdown
This commit is contained in:
parent
f30876d3f6
commit
2db99047ef
@ -133,13 +133,6 @@ getter and setter methods (`object.setX(7)`)!
|
||||
|
||||
```d
|
||||
// Consider a class parameterized on a types T, U
|
||||
|
||||
class MyClass(T, U) {
|
||||
T _data;
|
||||
U _other;
|
||||
|
||||
}
|
||||
|
||||
// And "getter" and "setter" methods like so
|
||||
class MyClass(T, U) {
|
||||
T _data;
|
||||
|
Loading…
Reference in New Issue
Block a user